Issue
I'm trying to set netBeans remote project and I'm having pretty much trouble with it. I've started a PHP Application from Remote Server and in the last confirmation step it throws error on me.
No files available for download. Try to check Passive mode in the remote configuration.
In the log output it fails there:
> 215 UNIX Type: L8 > PORT 192,168,5,217,196,73 > 500 Illegal PORT command.
Did anyone have same problem with setting up remote connection? Please help.
Solution
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
Answered By - imran
Answer Checked By - Pedro (JavaFixing Volunteer)