

It’s worth noting that explicit FTPS often uses port 21, but implicit FTPS uses port 990. To change a port number in FileZilla, simply input the numerical value in the Port: field as illustrated below in the control panel. However, it’s possible a switch from port 22 to port 21 may resolve your issue too. It’s more common that switching from port 21 to 22 resolves the issue since port 21 is often blocked by ISPs and IT teams. Sometimes, simply switching the port you are using can resolve the ECONNREFUSED message.

You’ll know you’ve gotten this error when you see something similar to this displayed after a connection attempt: Status: Connecting to someserver:21. “ECONNREFUSED – Connection refused by server” is one of the more common errors that users of FileZilla may encounter. Why FileZilla cannot connect with the server?įileZilla is a popular, free, and open-source FTP, FTPS, and SFTP client used to upload and download files.

If that doesn’t work or if you’re interested to learn why it worked, keep reading as we’ll cover that fix and other common solutions to this issue here. Then try again to connect to the host IP address or domain you wish to access.

If you’re looking for a quick fix to “ECONNREFUSED – Connection refused by server” FileZilla error messages, try changing your port number from 21 (default FTP port) to 22 (default SFTP port) or vice versa, as that is one of the most common fixes.
