- Plesk 11.x for Linux
- 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:
421 Service not available, remote server has closed connection
The following error message is seen in the /var/log/messages log file:
PLESK_INFO: getaddrinfo 'Hostname\_Is\_Here' 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 hostname
ping: hostname: Name or service not known ping `hostname`
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