Skip to main content

How To Fix FileZilla Connection Error – Failed With EAI

By March 20, 2016June 20th, 2020Website, Tech


Many FileZilla users have come across an issue regarding a failed EAI when trying to connect to an FTP server.

I have personally experienced two different types of EAI errors and I have provided examples of these below.

1. EAI_NODATA – No address Associated with nodename.
Status: Resolving address of ftp.peterstavrou.com
Status: Connection attempt failed with “EAI_NODATA – No address Associated with nodename”
Error: Could not connect to server

2. EAI_NONAME – Either nodename nor servname provided, or not known.
Status: Resolving address of ftp.peterstavrou.com
Status: Connection attempt failed with “EAI_NONAME – Neither nodename nor servname provided, or not known”.
Error: Could not connect to server

I noticed that this started happening after a specific FileZilla update and it is still occurring for a few people even after multiple software updates. I’m not quite exactly sure what the cause of the issue is but seeing as I could not find a solution to this problem anywhere, I decided to share a quick fix or at least workaround I discovered.

 

The Fix For The FileZilla Error – “Failed With EAI”

Basically all you need to do is replace the Hostname with the Host IP Address.

    1. 1. Go to FileZilla and open the Site Manager.

FilaZilla - Site Manager

    1. 2. Click on your Site and you will see that your Host is currently ftp.YourWebsite.com

FileZilla - Host

    1. 3. You now need to replace the Hostname with the IP Address.
      To get the IP Address of the Host, open Command Prompt by clicking on Start and typing cmd in the search programs and files box.
      Alternatively you can go to Start –> All Programs –> Accessories –> Command Prompt
    2. 4. Once Command Prompt opens, type in ping YourWebsiteAddress.com

Fix FileZilla Connection Error Failed With EAI - IP Address

    1. 5. See how it says Reply from and then a number? That is the IP Address that you need to use instead of the Host.

Fix FileZilla Connection Error Failed With EAI - FTP

  1. 6. If you still having trouble connecting then you can try changing the encryption method from Use explicit FTP over TLS if available to Only use plain FTP (insecure). However by doing so, your FTP connection will be insecure.

Did this solution work for you?

You may also be interested in…

Thrive Architect - Landing Pages
An amazing WordPress plugin to quickly and easily create beautiful, engaging and visually impressive landing pages that convert visitors into sales!

Disclosure: This page contains affiliate links. I have a strict policy to only promote products I personally use to run my business. If you decide to purchase a product through an affiliate link I will receive a commission at no extra cost to you. This is how I fund the blog – thanks for your support!

55 Comments

Share Your Thoughts

 

PeterStavrou.com