I report here a problem that we found through the release of NetBeans 7.0.1, although I'm pretty sure the cause is not attributable to the IDE but are resident elsewhere. In practice, after updating NetBeans behaved as if it were completely offline, returning an error connection timeout only when publishing a project but also starting the download of updates from the official repositories.

To solve the problem was simply a googleata, but the solution to me just here because I want to avoid losing the same time in the future, if ever you encounter a similar case. It seems to cause the timeout is the fact that one of the Java classes dedicated to the management of IPv6 networking bait unless you instruct otherwise not, by adding the following flag to the file netbeans.conf:

-J-Djava.net.preferIPv4Stack=true

The flag is appended to the others that are in line 6 of the configuration file:

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Djava.net.preferIPv4Stack=true"

I hope this information can be helpful to others.