Deploy a PHP Application to a remote server using NetBeans IDE 7.1.2 – Windows 7

Windows 7’s firewall blocks the FTP calls from JRE. The following steps solved the problem for me:

1. Open cmd.exe as Administrator
2. Run following command:

netsh advfirewall set global StatefulFTP disable


Also, set the FTP mode to passive works for some servers.

Leave a comment