I am getting the error ECONNREFUSED – Connection refused by server in FTP

Error :

Status: Connection attempt failed with “ECONNREFUSED – Connection refused by server”.
Error: Could not connect to server

Solution :

 

Use the port number as 21 in filezilla while connection to server

Kindly refer the below Procedure,

Go to filezilla

Click on File >> Site Manager
Click on New Site option
Supply the following details
Host : ftp.yourdomain.com or server IP
port : 21
server type : FTPES – FTP over explicit TLS/ SSL
{
Note: If you are using latest version of fiezilla,
Protocol: FTP-File Transfer Protocol
Encryption: Require explicit FTP over TLS.
}
Logon Type : Normal
User : your ftp user name
password : your ftp password

Click on connect