December 2, 2019
3 min Read
December 2, 2019
3 min Read
If you come across the ECONNREFUSED – connection refused by a server error in FileZilla and don’t know how to fix it, then you’re in the right place. This tutorial will show you how to resolve the FTP error through a few methods. Let’s check it out!
One of the possible reasons for this error is that the firewall and anti-virus software on your computer is preventing FileZilla from making a connection.
If that’s the cause of the ECONNREFUSED – connection refused by server error, simply disable the firewall and anti-virus software on your computer and try to reconnect. Here’s how to do so on Windows:
On macOS, you need to:
To disable different anti-virus software on your computers, check out this article for detailed guidance.
That’s it! This method should fix the ECONNREFUSED – connection refused by server error instantly if your computers’ firewall and anti-virus are the problems. Should it persists, turn everything back on and do the next method instead.
Sometimes, the error happens because you’re using the wrong port when connecting with FileZilla. If that’s the case, all you need to do is put 22 (default SFTP port) instead of 21 (default FTP port number) on the port column, as seen below.
ProTip: Make sure to edit the Site Manager’s configuration and change the protocol to SFTP – SSH File Transfer Protocol if you’re using port 22.
If none of the solutions above work, try editing FileZilla’s network configurations to fix the ECONNREFUSED – connection refused by server error. To access the Network Configuration Manager, here’s what you need to do:
Now you just need to make sure everything is configured correctly. Click on the Test button, and FileZilla will try to connect to probe.filezilla-project.org to perform some simple tests.
If you don’t receive any errors during the test, try connecting to your hosting account again, and you should connect just fine. If the ECONNREFUSED – connection refused by server error still appears, contact your hosting customer support team for assistance.
By finishing this short tutorial, you’ve learned how to fix the FileZilla ECONNREFUSED – connection refused by server error through three simple methods. Here’s a quick recap of the reasons why it happens and how to fix it:
Simple, right? If you have any other solutions, or if you have any questions, do let us know in the comments!
November 16, 2017
Thank you! It really worked!
November 28, 2017
I tried the walkthrougt bellow and the error continues. Now show message is: Failed to create listen socket on port 0, aborting. Can you help me to solve this trouble?
Replied on December 14, 2017
Hey Devid, If you get this error on a website hosted by us, please provide a link here or contact our customer success team.
Replied on September 18, 2019
Were you able to solve this? I have the same issue. Thank you.
April 10, 2019
Thanks it worked for me