Knowledge Base

Home » Server Errors » PORT command failed


Print Article

Article 21

PORT command failed


PORT command failed.


FTP server replies:

500 Illegal PORT Command
500 Illegal PORT range rejected
501 Server cannot accept argument.


The FTP server does not accept the IP address in the PORT command.


For client to server / server to client transfers

Enable Passive Mode.

  1. Go to the menu: Favorites - Favorite Properties
  2. Go to the FTP - Connection dialog
  3. In the Data Connection group, set the Mode to Passive Mode (PASV)
  4. Click OK to save the changes
  5. Restart SmartFTP

For server to server (FXP) transfers

The server must be configured to allow foreign IPs in PORT.


500 illegal port command illegal port range passive mode

Related Articles
icon How To switch between Active / Passive mode

What do you think about this topic? Send feedback!