FAQConfiguringWinFirewallForPassiveFTP
FTP does not work with Java 7 on Windows 7 or Vista in NetBeans IDE 7.0.1, how can I fix this?
Contents |
Description
Windows 7 or Windows Vista users running the NetBeans IDE 7.0.1 and later on JDK 7 may experience FTP communication failure.
Workaround
To establish an FTP connection, choose either of the options below:
- Turn off the Windows firewall.
- Configure Windows Firewall for a passive mode FTP server as follows:
- Open an Administrator command-prompt.
- Click Start > All Programs > Accessories.
- Right-click Command Prompt, and then click Run as Administrator.
- Run the following command:
netsh advfirewall firewall add rule name=FTPService action=allow service=ftpsvc protocol=TCP dir=in
- Disable stateful FTP filtering so that the firewall does not block any FTP traffic:
netsh advfirewall set global StatefulFTP disable
