Best Fixes for “ECONNREFUSED – Connection refused by server” Error in FileZilla

If you are having issues with the ECONNREFUSED – Connection refused by server error in FileZilla, you will find all details and fixes below. This guide contains several methods that can resolve the FTP error.


What Is “ECONNREFUSED” Error?

The “ECONNREFUSED – Connection refused by server” error is a network error that occurs when a client attempts to connect to a server, but the server rejects the connection.

This can happen for various reasons, such as the server not running on the specified port, the connection being blocked by a firewall, or the server application not accepting incoming connections.


How To Fix ECONNREFUSED Error? (Reccomended)

In order to fix the “ECONNREFUSED – Connection refused by server” error, we would strongly recommend that you implement a complete website fix immediately. The most professional solution is using Fixed.net to conduct a complete website fix, that includes:

  1. Quick malware removal.
  2. Errors fix.
  3. Complete site repair.
  4. White screen of death fix.
  5. Contact forms error fix.
  6. eCommerce checkout errors repair.
  7. Active maintenance and backup + prevention.

Fixes for ECONNREFUSED - Connection refused by server Error in FileZilla

More Information and Fix Methods

FileZilla is a free open source cross-platform platform with lots of useful features and an intuitive graphical user interface. It consists of FileZilla Client and FileZilla Server where the Client binaries are available for Windows, Linux and macOS and Server binaries are available for Windows only. The FileZilla Client supports FTP (File Transfer Protocol), FTPS (File Transfer Protocol that supports the Transport Layer Security) and SFTP (Secure File Transfer Protocol). It is often used for files transferring.

One of the most common errors which FileZilla users may encounter is the “ECONNREFUSED – Connection refused by server”. The error can occur after a connection attempt. At that moment the platform will display something similar to this:

Status: Error: Could not connect to server
Status: Waiting to retry…
Status: Resolving address of signal31.com 2
Status: Connecting to 91.10.62.112:21…
Status: Connection attempt failed with “ECONNREFUSED – Connection refused by server”.
Error: Could not connect to server

ECONNREFUSED connection refused by server error in filezilla

Why FileZilla cannot connect with server?

Connection refused errors can be encountered for several reasons:

    The service is not running on your FTP Server
    The Firewall is blocking the port, this could be the Network Firewall, or Windows Firewall on the server.
    The FTP client not configured for the right host information.
    The FTP client not configured for the right port.

Apparently, this error can be encountered due to a variety of reasons, so a fix that works for one person may not be the right for another. Below we will describe the most common reasons for this message to appear in FileZilla and show methods for their fixes.

Method 1 to fix ECONNREFUSED error: Ensure that you’re using the right port

Users who share details about their experience with ECONNREFUSED error confirm that one of the most common solutions is changing the connection port. If that’s the case, all you need to do is change the 21 (default FTP port number) to 22 (default SFTP port) in the port column presented on the FileZilla platform:

ftp port 21 in filezilla fix econnrefused error

sftp port 22 in filezilla fix econnrefused error

Changing your port number from 21 the default FTP port to 22 the default SFTP port or vice versa is one of the most common fixes for ECONNREFUSED error in FileZilla. If it does work for you, great! If it does not, keep reading as below, we will cover other common solutions to this issue.

Method 2 to fix ECONNREFUSED error: Disable Firewall, antivirus, or similar program that may be blocking the connection

The ECONNREFUSED server connection error can come as a result of having a firewall or anti-virus software that is preventing FileZilla from making a connection. If these are the issues that are causing the ECONNREFUSED error, then:

    Make sure your firewalls allow outbound traffic from the computer running the FileZilla client to TCP port 21 or 22 or another port you’re using on the file server.

    Ensure that local firewalls (e.g. Windows Firewall) or active antivirus programs are not interfering with your connection or blocking the filezilla.exe application.

What can fix the ECONNREFUSED – Connection refused by server is disabling the firewall and anti-virus software on your computer. Here’s how to apply this fix on Windows:

    1. Press the Windows key and type in Control Panel.
    2. Navigate to System and Security and select Windows Defender Firewall.

windows os system and security windows defender Firewall

    3. On the left menu bar, select the option Turn Windows Defender Firewall on or off.

windows-defender-firewall-settings-on-off

    4. On the next window, modify the settings to turn off Windows Defender Firewall for public and private networks, then press Ok.
    5. Restart the system and try to connect the server again

On macOS, you need to:

    1. Click on the Apple menu on the upper left toolbar, then click System Preferences.
    2. Find the Security & Privacy option.

system-preferences-settings-apple-macos

    3. Choose the Firewall tab and click on the Turn Off Firewall option.

how-to-turn-off-firewall-on-macos

    4. Restart the system and try to connect the server again.

To disable different anti-virus programs that are running on your computer system, you need to navigate to programs’ interfaces and look for a turn-off, pause or disable option which may be available on the Settings section or a separate section depending on the used app.

These steps should fix the ECONNREFUSED – connection refused by server error instantly in the event that your computer’s firewall and anti-virus are causing the problem. If the error is still there then turn everything back on and try the next method.


Also Read How to Redirect a URL (301 and 302 Guide)


Method 3 to fix ECONNREFUSED error: Edit FileZilla Network Configuration Wizard

If none of the methods above worked for you, probably editing FileZilla’s network configurations is the fix you are looking for. To access the Network Configuration Manager in FileZilla you should:

    1. Connect to FileZilla FTP client and head to Edit -> Network Configuration Wizard.

network-configuration-wizard-on-filezilla

    2. Once a Firewall and router configuration wizard window pop up, click Next to proceed.
    3. When the window appears on the screen, mark Passive (recommended) option as the Default transfer mode, and put a check on the Allow fallback to another transfer mode on failure option.

edit-firewall-and-configuration-wizard-in-filezilla

    4. Then select the option Use the server’s external IP address instead.

    filezilla configuration screen image

    5. Choose the Get the external IP address from the following URL. If the input field is empty, enter the default value http://ip.filezilla-project.org/ip.php, and proceed.

    filezilla configuration screen image

    6. Don’t make any changes to the port range configuration just select Ask operating system for a port.

filezilla configuration screen image

7. Click the Test button to check if everything is configured correctly. FileZilla will try to connect to probe.filezilla-project.org to perform some simple tests.

filezilla configuration screen image

If you don’t see any errors during the test, try connecting to your hosting account again.

If none of the above-mentioned fixes don’t fix the ECONNREFUSED – connection refused by server error, contact your hosting customer support team for further assistance.


Conclusion on Steps to Fix ECONNREFUSED Error

To briefly summarize, the methods that we have suggested here are all tested and check out to fix the problems with ECONNREFUSED error. FileZilla will usually give up after four connection attempts before giving you the ECONNREFUSED error. If the connection succeeds that you have managed to fix the ECONNREFUSED error on your FileZilla FTP client.

We hope that this guide is useful! If you have any other fixes to share, or if you have any questions, leave us a comment!

USEFUL TIPS

FIX WORDPRESS AFTER THEME CHANGE

FIX ERROR ESTABLISHING A DATABASE CONNECTION

Researched and created by:
Krum Popov
Passionate web entrepreneur, has been crafting web projects since 2007. In 2020, he founded HTH.Guide — a visionary platform dedicated to streamlining the search for the perfect web hosting solution. Read more...
Technically reviewed by:
Metodi Ivanov
Seasoned web development expert with 8+ years of experience, including specialized knowledge in hosting environments. His expertise guarantees that the content meets the highest standards in accuracy and aligns seamlessly with hosting technologies. Read more...

2 Comments

  1. slot online bbp

    Everyone loves it when individuals get together and share views.

    Great blog, stick with it!

    Reply
  2. Alvaro

    eu to tentando conectar no ps3 mas ta dando este erro ( I am trying to connect to ps3 but giving this error )

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.
I Agree
At HTH.Guide, we offer transparent web hosting reviews, ensuring independence from external influences. Our evaluations are unbiased as we apply strict and consistent standards to all reviews.
While we may earn affiliate commissions from some of the companies featured, these commissions do not compromise the integrity of our reviews or influence our rankings.
The affiliate earnings contribute to covering account acquisition, testing expenses, maintenance, and development of our website and internal systems.
Trust HTH.Guide for reliable hosting insights and sincerity.