FaqPermissionDeniedJDK7

How to solve "Permission denied: connect" problem within NetBeans using JDK7?

On Windows 7, newly installed IDE running on JDK 7 won't connect to network. / This issue was also seen when using JDK7 with Win7 connected to VPN.

Description: In some cases the firewall of the local system may filter responses from the network while connecting to a remote host. When connecting to a remote host the JDK will first attempt to use IPv6 and then IPv4. The firewall may filter out a negative response from the host when using IPv6 with the result that the JDK does not attempt to connect to the host using IPv4.

Workaround: Modify the netbeans.conf to add the -J-Djava.net.preferIPv4Stack=true command line switch, or modify the NetBeans options of the environment variable.

Taken from http://netbeans.org/community/releases/71/relnotes.html

For more details

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo