How to Fix ECONNREFUSED – connection refused by server error in FileZilla

How to Fix ECONNREFUSED - connection refused by server error in FileZilla

There are a few main causes why you get ECONNREFUSED – Connection refused by server in FileZilla FTP client. It’s possible that either your firewall or anti-virus software is preventing FileZilla from connecting to the server. If disabling firewall or anti-virus software doesn’t help, you may need to change FileZilla Network Configuration settings. This step by step tutorial shows how to go through FileZilla Network Configuration Wizard in order to resolve ECONNREFUSED – Connection refused by server error.

ECONNREFUSED Connection refused by server error FileZilla Log

What you’ll need

Before you begin this guide you’ll need the following:

Step 1 — Accessing Network Configuration Wizard in FileZilla Client

To access Network Configuration Manager in your Filezilla client, you press Edit and then select Network Configuration Wizard option.

Network Configuration Wizard

You should now see a Firewall and router configuration wizard. Since we cannot make any changes here, press the Next button.

Network Configuration example

Step 2 — Configuring Transfer Mode

You can now select a transfer mode, choose Passive (recommended) as Default transfer mode. Afterward, click on Allow fallback to other transfer mode on failure and press Next.

Site Manager

Step 3 — Configuring Passive Mode

All you need to select here is Use the server’s external IP address instead and press on Next

Passive mode

Step 4 — Configuring External IP address

As you move forward with this configuration, you should select Get external IP address from the following URL:. If input field is blank, enter the default value which is http://ip.filezilla-project.org/ip.php

Once you have done that, proceed by pressing Next.

External IP

Step 5 — Configuring Port Range

You do not need to make any specific port range configuration here, so select Ask operating system for a port and proceed by clicking Next.

Port range configuration

Step 6 — Testing Configuration

You have provided FileZilla with all the required information. Now you need to make sure that everything is configured correctly. Click on Test button and FileZilla will try to connect to probe.filezilla-project.org in order to perform some simple tests.


If the test was successful and you have not received any error messages, try connecting to your hosting account. If you still get the ECONNREFUSED error, contact your hosting customer support team for assistance.


By finishing this short tutorial, you have successfully configured your Filezilla Firewall and router settings. You should no longer get ECONNREFUSED – connection refused by server error while connecting to the server.

About the author

Edvinas B.

Edvinas mentors and trains every new customer support agent at Hostinger. When he's not teaching new guys the secrets of providing an exceptional service, he likes to travel the world and play basketball.


Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get Exclusive Content

Join thousands of webmasters who get our free newsletter with tips on how to drive more traffic and revenue to their websites!

Please wait...

Thank you for sign up!

More in FTP
How to Check if FTP Port 21 is Not Blocked
How to Check if FTP Port 21 is Not Blocked