- Plesk 12.0 for Linux
- Plesk 12.5 for Linux
- 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
The following error message is seen in the
PLESK_INFO: getaddrinfo 'host.example.com' error: Name or service not known warning: unable to determine IP address of 'host.example.com domain'
FTP server is unable to determine the IP address of the server by hostname:
# ping host.example.com
ping: host.example.com: Name or service not known ping `host.example.com`
Note: if you don't have root access to Plesk server via SSH, contact your hosting provider regarding the issue
Define the correct hostname:
Navigate to Tools & Settings > Server Settings .
Specify the required hostname.
Click OK .
Connect to the server using SSH.
Execute the command:
# plesk bin server_pref --update -hostname host.example.com