- Plesk for Linux
FTP connection to the server cannot be established. FTP client returns the error:
CONFIG_TEXT: 421 Service not available, remote server has closed connection
PLESK_INFO: getaddrinfo 'wronghost.example.com' error: Name or service not known warning: unable to determine IP address of 'wronghost.example.com domain'
Hostname mentioned in the error is not reachable:
# ping wronghost.example.com
ping: wronghost.example.com: Name or service not known ping `wronghost.example.com`
Hostname misconfiguration: FTP server is unable to determine IP address of the server by hostname.
Note: if you don't have root access to Plesk server via SSH, contact your hosting provider regarding the issue.
Via Plesk interface
Navigate to Tools & Settings > Server Settings .
Specify the correct hostname and click OK:
Connect to Plesk server using SSH.
Specify the correct hostname:
# plesk bin server_pref --update -hostname host.example.com