Articles in this section

Unable to connect to a Plesk server via FTP: Server sent passive reply with unroutable address. Using server address instead.

Plesk for Windows Plesk for Linux kb: technical ABT: Group B

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Symptoms

  • 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 locally from the server, 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 (35.154.187.139:root): john_doe
    331 Password required for username
    Password:
    230 User username logged in
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> ls
    227 Entering Passive Mode (192,0,2,2,170,123). <--- the internal IP
    ftp: connect: No route to host

Cause

A public IP address is not configured for a private IP address in Plesk at Tools & Settings > IP Addresses.

Resolution

  1. Configure the passive FTP ports:

  2. Log in to Plesk and associate a public IP address with a private IP address at Tools & Settings > IP Addresses.


    Screenshot_2019-04-30_IP_address_192_0_2_2_on_the_interface_eth0_-_Plesk_Onyx_17_8_11.png

    On a Linux server, to find a public IP, use the steps below:

    1. Connect to the Plesk server via SSH.

    2. Run the following command:

      # curl ifconfig.co

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.