[filezilla] Connection attempt failed with "ECONNREFUSED - Connection refused by server"

I am trying to connect to a networked machine's FileZilla server but my FileZilla Client is giving the following error while connecting. The error is:

"Connection attempt failed with ECONNREFUSED - Connection refused by server"

Windows Firewall is turned off on that machine and i had provided the valid credentials in my FTP Client.

Thanks in advance

This question is related to filezilla

The answer is


I solved this error

A connection attempt failed with "ECONNREFUSED - Connection refused by server"

by changing my port to 22 that was successful


FTP protocol may be blocked by your ISP firewall, try connecting via SFTP (i.e. use 22 for port num instead of 21 which is simply FTP).

For more information try this link.


Use port number 22 (for sftp) instead of 21 (normal ftp). Solved this problem for me.


For me, I was receiving this error when connecting to the new IP Address I had configured FileZilla to bind to and saved the configuration. After trying all of the other answers unsuccessfully, I decided to connect to the old IP Address to see what came up; lo and behold it responded.

I restarted the FileZilla Windows Service and it immediately came back listening on the correct IP. Pretty elementary, but it cost me some time today as a noob to FZ.

Hopefully this helps someone out in the same predicament.