Base de conocimientos

  1. Inicio
  2. Server Errors
  3. PORT command failed
Creado
Modificado

Artículo 21

PORT command failed

Problem

PORT command failed.

HRESULT: FTPLIB_E_PORTCOMMANDFAILED (0x8004310f)

FTP server replies:

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

Cause

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

Solution

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.

 

Palabras clave
500 illegal port command illegal port range passive mode

Artículos relacionados
icon How To switch between Active / Passive mode


What do you think about this topic? Send feedback!