- Plesk for Linux
- Plesk for Windows
A public IP address is not configured for a private IP address in Plesk at Tools & Settings > IP Addresses.
In FileZilla, an FTP connection or a file upload fails with the following error message:
CONFIG_TEXT: Status: Connecting to 203.0.113.2:21...
Server sent passive reply with unroutable address. Using server address instead.
When establishing an FTP connection, a private IP address is returned and connection fails with "No route to host":
# ftp 203.0.113.2
Connected to 203.0.113.2 (203.0.113.2). <--- the public IP
220 ProFTPD 1.3.5d Server (ProFTPD) [203.0.113.2]
Name (220.127.116.11:root): john_doe
331 Password required for username
230 User username logged in
Remote system type is UNIX.
Using binary mode to transfer files.
227 Entering Passive Mode (192,0,2,2,170,123). <--- the internal IP
ftp: connect: No route to host
Configure the passive FTP ports:
For Plesk on Linux
For Plesk on Windows Server
In Plesk, associate a public IP address with a private IP address at Tools & Settings > IP Addresses.
Note: On Linux, to fund a public IP, use the steps below:
Connect to the Plesk server via SSH.
Run the following command:
# curl ifconfig.co