Plesk FTP - Service not available

On new plesk server, i got following error while connecting through FTP.

[[email protected] /]# ftp localhost
Connected to localhost (
421 Service not available, remote server has closed connection

The problem is due to server could not resolve it's own hostname. This can be verified with

ping `hostname`

If you can't ping the hostname, add following record into /etc/hosts file:


Also you can edit the DNS of the domain and add an "A" record for your host name pointing to your server base IP address.

In this case the domain was hosted on the same server, so i edited the DNS Zone file of the domain. Lets say the host name of the server is, i edited DNS Zone file of the domain

vi /var/named/run-root/var/

Added A record at the edit of the file            IN A

After adding the DNS entry, you need to restart named.

[[email protected] var]# service named restart
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
[[email protected] var]#

Now the FTP start working.

Get in touch with us

Questions? Concerns? Comments? We want to hear from you!
Drop us a line with whatever is on your mind and we will get back to you ASAP!!