Knowledge Base
Home > FTP Server Errors > 500 Illegal PORT Command
Article 0021
500 Illegal PORT Command
500 Illegal PORT range rejected
Problem
500 Illegal PORT Command 500 Illegal PORT range rejected
Cause
The FTP server is blocking foreign IP's or high ports often required for FXP transfers. If SmartFTP cannot resolve the problem on its own during an FXP attempt, the server needs to be configured to allow foreign IP's in PORT command and allow high ports.
Solution
In a non FXP connection enable the Passive Mode.
- Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
- From the SmartFTP Favorites window select the Favorite of interest. Right click on the Favorite and select Properties. The Properties dialog appears.
- Under the FTP option select Connection. From the Connection tab under Data Connection you can enable the Mode passive (PASV) for the selected Favorite.
Current Session Setting
- Click the "PASV" button on the toolbar when connected to a server.
- You can also Switch between Active and Passive mode from:
Menu: Commands > Connection -> "Passive Mode".
Keywords
500 illegal port command, illegal port range, passive mode
Related Articles
How To switch between Active / Passive mode


