Ucodice Technologies
Ucodice Technologies Pvt. Ltd.
Ucodice Technologies Pvt. Ltd.
Ucodice Technologies Pvt. Ltd.

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_enable=YES
pasv_promiscuous=YES
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.

 

Ucodice Technologies
Ucodice Technologies Pvt. Ltd.
Ucodice Technologies Pvt. Ltd.
Ucodice Technologies Pvt. Ltd.
Menu

Comments

  • pop3@nate.com

    Thank you!!!

    • pop3@nate.com
    • 4

Please share your views with us

Check if you want to display your email-id.

Let's collaborate

write to us

contact@ucodice.com

Contact Form