What are the steps to resolve the error ‘421 service not available’ in case of ftp?

FTP connection to the server cannot be established. FTP client returns the error:

421 Service not available, remote server has closed connection.

Above one is the complete error , you get sometimes, while ftping to the server.

Please refer the following steps to resolve it:

  1. check the /var/log/messages log file on server

getaddrinfo ‘Hostname_Is_Here’ error: Name or service not known
warning: unable to determine IP address of ‘host.domain.tld domain’

This is because FTP server cannot determine IP address of the server by hostname.

 

  1. Try to PING Hostname

 

#ping hostname

If ping does not respond, you will have  to define the correct hostname in the configuration files as follows and restart network service.

/etc/hosts
/etc/sysconfig/network

/etc/init.d/network restart

 

  1. If still the following error occurs

Authentication failed for user [anonymous]

 

Please check whether your local machine’s ip is blocked.You see that csf has blocked it.

Unblock it and restart the firewall.That should solve the issue.

  • 61 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Articles Relacionats

Can I use my domain name or must I use my IP address as the hostname for FTP?

Using your IP address (192.168.22.22  is an example IP address) is the preferred entry for...

Can you transfer my sites from my current host to my new VPS?

Yes. We will transfer all of your sites free* of charge and will assure that you experience no or...

Do you allow MP3 files? Do you allow streaming of videos?

Yes we do with our special plans at http://hostripples.in/avs-hosting.php

Do you support Cold Fusion?

We do not support or Cold Fusion on our shared hosting servers, however you are more than welcome...