Run a command line (type "cmd" into the search bar in the Start Button), and see if you can ping the cRIO.
ping 10.42.81.2
Getting a response will at least ensure the network itself is working fine.
If you get a ping, and still can't successfully send code, disable your firewall, and/or make an exception for NetBeans.exe.
If that still doesn't work, you might be experiencing this:
http://www.chiefdelphi.com/forums/sh...hreadid=100588
For which I personally am still stumped by, and don't have a solution.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...