Reputation: 314
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.
Upvotes: 6
Views: 38403
Reputation: 1725
For me the solution was to check Passive Mode on the client and to do following things on the server side
in /etc/vsftpd.conf
pasv_enable=Yes
pasv_max_port=10100
pasv_min_port=10090
then in terminal
iptables -I INPUT -p tcp --destination-port 10090:10100 -j ACCEPT
service iptables save
service vsftpd restart
Upvotes: 0
Reputation: 1
There is no way to find the passive mode in a OSX. It's a Netbeans bug... So I won't be able to develop on netbeans using my Mac. Already tried to download last version.
Upvotes: 0
Reputation: 82
To establish an FTP connection, choose either of the options below:
Configure Windows Firewall for a passive mode FTP server as follows:
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
Upvotes: 6
Reputation: 3645
This seems to be the top answer whenever anyone is looking for how to set netbeans into passive mode. Despite the advice always being "set the ftp into passive mode" for those using Mac OS and Netbeans you may never seem to find it.
Upvotes: 5
Reputation: 4339
Please Check Passive Mode; i had faced the same issue; after checking it; resolve this issue.
Upvotes: 2
Reputation: 3251
Turning plain FTP Netbeans connection into passive mode solved the problem for me.
Upvotes: 3
Reputation: 12863
The only way I fixed this was to switch to using SFTP. This obviously requires that you've set up SFTP (FTP over SSH) access to your server.
In the Run Configuration, when it asks you for the Remote Connection:
Upvotes: 3