was successfully added to your cart.

How To Fix FileZilla Connection Error – Failed With EAI

By March 20, 2016 December 16th, 2018 Web, 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. Go to FileZilla and open the Site Manager.

FilaZilla - Site Manager

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

FileZilla - Host

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

4. Once Command Prompt opens, type in ping YourWebsiteAddress.com

Fix FileZilla Connection Error Failed With EAI - IP Address

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

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?

41 Comments

Share Your Thoughts

 

Do NOT follow this link or you will be banned from the site!