InMotion Hosting Support Center

How do I fix a connection refused error in FileZilla?

Category: File Management

2011-12-01 9:24 pm EST

Hits: 155,470
New user - trying to upload initial files and getting this error msg -

Status: Connecting to
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server

You must login before you can ask a follow up question.

You must login before you can submit an answer.

What do to with error 421. I am getting this constantly while connecting to the server through filezilla. I had found a similar query on that. hope this can put more light.
0 Points
2014-01-29 12:28 am EST
Hello rohansharma,

This error is caused by too many concurrent connections to the server. Setting your FTP client to have a lower number of concurrent connections to the server will resolve the issue.
11,186 Points
2014-01-29 10:59 am EST
Status: Connecting to
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server
0 Points
2015-10-28 06:02 am EST

Best answer chosen by InMotion Hosting staff


9,968 Points
2011-12-02 7:34 am EST
Hi suemasevice,

There are several factors that could be causing you to experience the ECONNREFUSED - Connection refused by server error in your FileZilla FTP client.

You could be having issues similar to what we discuss in our article on EAI_NODATA errors.

Another possibility could be that you need to update your network options in FileZilla so that it can grab your appropiate external IP address, typically assigned by your router. You could follow these steps to do this:

  1. Open FileZilla

  2. Click on Edit from the top menu, then click on Network Configuration Manager.

    If this is your first time configuring FileZilla's network settings you will be at the Firewall and route configuration wizard.

  3. Select Passive (recommended) and Allow fallback to other transfer mode on failire and click Next.

  4. On the Configure passive mode page select Use the server's external IP address instead and click Next.

  5. Select the Get external IP address from the following URL option, then you can leave the default of

  6. On the Configure port range page you can leave Ask operating system for a port selected, and click on Next.

  7. Finally on the Configuration test page, click on Test. If you don't receive any errors than you should be good to go.

Additional things that could cause these types of errors would be either your hardware or software firewall preventing FileZilla from connecting, or possibly an anti-virus software that you have installed that is not allowing it to connect.

If you're still having any issues at all after trying either of these solutions please let us know so that we can update our documentation accordingly!


- Jacob

You must login before you can post a comment about this answer.

hi i try everything above, and i still get that error message.
what else can i do?
6 Points
2014-05-24 11:25 pm EST
Hello ziviny,

Do you get the error immediately upon attempting to connect or does it happen after a few transfers have started? Could you provide us with the exact settings that you have defined within FileZilla?
11,186 Points
2014-05-27 9:11 am EST
its ok now, thanks a lot.
6 Points
2014-05-27 9:31 am EST

I have the same problem as ziviny but a few things come up first. I have checked my firewall and allowed filezilla and checked my anti-virus please help
15 Points
2014-10-01 6:22 am EST
Hello Captainmc412,

Have you tried the steps the Jacob has provided above?

Kindest Regards,
Scott M
33,899 Points
2014-10-01 9:20 am EST
Hi Scott

Yes I have done every step and this problem is really bugging me.

I have been trying to fix it for like 3 days now and before that Filezilla worked fine.

If you can help thank you!

15 Points
2014-10-02 12:37 am EST
Hello Captainmc412,

Thank you for contacting us. Sorry to hear about the trouble you are having connecting with FileZilla.

Just as a test, I would try using the Quickconnect option when you first open FileZilla. This uses the default settings.

If that does not work, I would contact our Live Tech Support team, so they can review the logs.

I am not sure if you are hosted with us, but this would allow us to see if you are communicating with the server (and if any errors are being logged). If not, the connection is most likely failing before hitting the server.

This is difficult to troubleshoot if you are not connecting to our server, since we do not know how it is is setup (or misconfigured).

If you have any further questions, feel free to post them below.

Thank you,
20,958 Points
2014-10-02 9:07 am EST
I always do use Quickconnect first because nothong else comes up I will try the other steps now
15 Points
2014-10-02 8:15 pm EST
Do you have any free web hosting?
15 Points
2014-10-02 8:18 pm EST
Hello Captainmc412,

Thanks for the question. We do not have a free hosting plan. You can check out our various hosting packages by going to the InMotion Hosting website.

Arnel C.

29,898 Points
2014-10-02 8:29 pm EST
OK thanks for the reply.

I might have to go somewhere else to fix this then.

Thank you everyone for helping I really appreciate it

15 Points
2014-10-02 9:44 pm EST
Hi Jacob,

I tried connecting to my host and followed the network configuration mentioned as you guided. After I click on test on configuration wizard it is throwing following error message:

Response: 150 opening data connection
Response: 503 Failure of data connection.
Server sent unexpected reply.
Connection closed

Kindly help!
3 Points
2015-04-28 2:11 pm EST
Hi Sai you need to contact your host since its sound like the server is sending a response to FileZilla that its not understanding. They should be able to help you sort it out.
827 Points
2015-10-28 8:13 am EST
Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!