{"id":871,"date":"2024-02-23T04:31:45","date_gmt":"2024-02-23T04:31:45","guid":{"rendered":"https:\/\/www.mddir.com\/how-to\/?p=871"},"modified":"2024-02-23T04:31:48","modified_gmt":"2024-02-23T04:31:48","slug":"a-connection-attempt-failed-with-eai_noname-neither-nodename-nor-surname-provided-or-not-known","status":"publish","type":"post","link":"https:\/\/www.mddir.com\/how-to\/a-connection-attempt-failed-with-eai_noname-neither-nodename-nor-surname-provided-or-not-known\/","title":{"rendered":"A connection attempt failed with &#8220;EAI_NONAME &#8211; Neither nodename nor surname provided, or not known&#8221;."},"content":{"rendered":"\n<p>Check the following settings before you take any actions.<\/p>\n\n\n\n<p>FTP Username: admin@domain.com&nbsp;<\/p>\n\n\n\n<p>Note: Use&nbsp;<strong>admin@domain.com<\/strong>&nbsp;and not the&nbsp;<strong>admin&nbsp;<\/strong>in the username field. Here, the admin is your chosen username. It may be different as per your settings.&nbsp;<\/p>\n\n\n\n<p>Host: domain.com<\/p>\n\n\n\n<p>Note: Use&nbsp;<strong>domain.com<\/strong>&nbsp;and not the&nbsp;<strong>ftp.domain.com<\/strong><\/p>\n\n\n\n<p>FTP port:&nbsp;&nbsp;<strong>21<\/strong><\/p>\n\n\n\n<p><strong>Note:<\/strong>&nbsp;Check the FTP port details in your cpanel ftp information section. Generally, the FTP port is set to 21 but may differ on server configurations.<\/p>\n\n\n\n<p>Finally, Check the path of the ftp account. In the majority of the cases, the above settings will solve the problem. If the issue persists, you may set the FTP&#8217;s wrong folder. Return to the cpanel and view the FTP account details to ensure the path, password, and username are correct.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check the following settings before you take any actions. FTP Username: admin@domain.com&nbsp; Note: Use&nbsp;admin@domain.com&nbsp;and not the&nbsp;admin&nbsp;in the username field. Here, the admin is your chosen<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-871","post","type-post","status-publish","format-standard","hentry","category-others"],"_links":{"self":[{"href":"https:\/\/www.mddir.com\/how-to\/wp-json\/wp\/v2\/posts\/871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mddir.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mddir.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mddir.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mddir.com\/how-to\/wp-json\/wp\/v2\/comments?post=871"}],"version-history":[{"count":1,"href":"https:\/\/www.mddir.com\/how-to\/wp-json\/wp\/v2\/posts\/871\/revisions"}],"predecessor-version":[{"id":872,"href":"https:\/\/www.mddir.com\/how-to\/wp-json\/wp\/v2\/posts\/871\/revisions\/872"}],"wp:attachment":[{"href":"https:\/\/www.mddir.com\/how-to\/wp-json\/wp\/v2\/media?parent=871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mddir.com\/how-to\/wp-json\/wp\/v2\/categories?post=871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mddir.com\/how-to\/wp-json\/wp\/v2\/tags?post=871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}