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.
“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
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.
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.
- If you still getting the same error then kindly follow this step.
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.