ftp 500 Illegal PORT command

Trying to connect the ftp server & getting 5000 Illegal port command.  This issue may occur when ftp program is not configured for Passive mode.

You may get error snippet such as:


COMMAND:>         [3/11/2015 1:17:05 PM] PORT 192,168,0,101,196,215

                                [3/11/2015 1:17:05 PM] 500 Illegal PORT command.

ERROR:>                [3/11/2015 1:17:05 PM] Syntax error: command unrecognized.

ERROR:>                [3/11/2015 1:17:05 PM] Failed to establish data socket.


To resolve this issue you can define the port or ftp in configuration file of ftp server & define the IP Address or PASV server.

Check the configuration file for below settings.

pasv_max_port=Enter the max port range allowed on your server.
pasv_min_port=Enter the min port range allowed on your server.
pasv_address=Ip Address of your server.

After that restart the ftp service & check the ftp connection.



No Comments Posted Yet (Be The First To Comment On This)

Please share your views with us
Check if you want to display your email-id.
Enter the sum of digits
4+4 =