Resolve FTP EAI_NODATA error

In this article I’m going to review why you might be encountering an EAI_NODATA – No address associated with nodename error in your FTP client. Sometimes an EAI_NODATA error is also related to either a EHOSTUNREACH error, or an ECONNABORTED error as well.

These are common FTP errors that occur when your domain name is not registered and pointing to a web server. Also sometimes if you just recently changed where your domain name is hosted at, your FTP client can cache private data settings from the old connection. This could prevent you from connecting to the correct server.

When DNS changes are made to your domain name, this changes the physical server your domain’s website files are hosted on. These changes can take up to 24 hours to fully propagate, and especially after updating your domain’s name servers you might get the EAI_NODATA error within your FTP program

Fixing EAI_NODATA error

The steps below should be able to resolve the EAI_NODATA – No address associated with nodename error from happening. There are two methods in which you can utilize to try to prevent this error from happening to you.

  1. The easiest method would simply be to find your server name in cPanel, then in the hostname field of your FTP client, use that server name.

    This would ensure that your FTP client is directly connecting to our web server that hosts your website, and it wouldn’t have to rely on any recent changes to your domain name’s DNS setting.

    If your server was biz104 for instance, you would want to use the hostname biz104.inmotionhosting.com to be able to connect.

  2. To try to resolve the EAI_NODATA error and keep using your domain name, you’d want to clear out the private data associated with that connection in your FTP client.

    In this example we’re going to be using FileZilla.

    • In FileZilla’s menu click on Edit then select Clear private data…
    • Ensure that Clear quickconnect history and Clear reconnect information and selected then click on OK.
    • If you get a Reconnect information cannot be cleared while connected to a server. pop-up, go ahead and click on OK to re-connect your FTP session to try again.

Hopefully this fixes any common FTP errors like EAI_NODATA, EHOSTUNREACH, or ECONNABORTED. If for some reason you’re still having issues you should still be able to upload a file using File Manager in cPanel as well.

InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

15 thoughts on “Resolve FTP EAI_NODATA error

  1. Hi

               I am very upsate for ftp and browser not opening my hosting and webpage on my computer.. please help me

    1. Hello Ballu,

      Thank you for contacting us. We are happy to help, but will need some additional information. Did you try the solution above?

      Have you tried the Quickconnect option in FileZilla?

      Have you checked your FTP logs for any errors or record of your connection? If you are on a shared server, Live Support can assist you with this.

      Thank you,
      John-Paul

  2. I had this problem, but the solution was much simpler since it was a silly mistake from me.

    I had written as host: ftp.mydomain.com.

    When I changed it to just mydomain.com without ftp in front, it worked.

  3. ECONNREFUSED – Connection refused by server”

    I’m getting the above error and followed the insturctions in 
    https://www.inmotionhosting.com/support/questions/file-management/how-do-i-fix-a-connection-refused-error-in-filezilla

    but it didn’t work. I also tried to turn off the firewall.  The surprising thing is that I can access other servers from the same program bar one 

    1. Hello Yve,

      Thank you for contacting us. In the Official FileZilla forums, they discuss several other solutions. Aside from the firewall, they recommend checking your anti-virus.

      We are happy to help, but will need some additional information. Have you made any DNS changes recently to the domain you are connecting to?

      Have you confirmed domain’s nameservers/DNS are pointed to the right location?

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

      Thank you,
      John-Paul

  4. Hi, very easy instructions to follow and understand, no problem there. When I tried passive set up and test I got aborted error. When I tried Active I get 503 error.

    1. Hello Howard,

      It sounds like you are more than likely encountering a firewall issue. Do you currently have any firewall software running on the computer that you’re trying to establish an FTP connection from?

      Have you been able to FTP from your current computer to any other FTP servers, or are you just having a problem connecting to your website’s FTP account?

      – Jacob

Was this article helpful? Join the conversation!