421 services not available

421 services not available

You cannot establish a connection between FTP and server. When you try to do this FTP client will give you an error.

“421 Service not available, remote server has closed connection”

It’s a complete error which you are getting while ftping to your server.

Here is the solution of this error.
  • Start with checking this file on server /var/log/messages log file
getaddrinfo 'Hostname_Is_Here' error: Name or service not known
warning: unable to determine IP address of 'host.domain.tld domain'
This is the reason that your FTP server does not determine your IP address or not connect with your hostname
  • Try to PING your hostname.
#ping hostname
If your server is not able to ping then you have to define your correct hostname and restart the network server. To do this follows this code given below.

/etc/hosts
/etc/sysconfig/network
/etc/init.d/network restart
  • If you still getting the same error then kindly follow this step.
Authentication failed for user [anonymous]
If your machine's IP is get blocked then unblock your IP and restart your firewall. You can check your IP block in csf. It will also help you to resolve your issue.
Author
bhawanisingh
Views
2,736
First release
Last update
Rating
0.00 star(s) 0 ratings
Top