Sometimes it’s very annoying to get exception on one Operating System compare to other. GetCanonicalHostName returns the fully qualified domain name for this IP address. Best effort method, meaning we may not be able to return the FQDN (Fully Qualified Domain Name) depending on the underlying system configuration.Mac OS X uses the different system configuration than windows.
I have following details only
domain name:Mydomain.com (I have not Server IP address)UserId: abcPassword:123456
when I am trying to connect ftp through Filezilla or Myftp it gives error like
Connection attempt failed with 'EAI_NONAME - Neither nodename nor servname provided, or not known'.
Please suggest me solution.
PallaviPallavi
8 Answers
I had this error too. My domian name was a subdomain like xxx.yyy.comAnd cpanel ftp configuration guided me that ftp server is ftp.xxx.yyy.comFillzilla was unable to connect and showed this error:
Connection attempt failed with 'EAI_NONAME - Neither nodename nor servname provided, or not known'.
This error is for dns resolving. I just removed 'ftp.' from ftp.xxx.yyy.com and it works now
Amir Hossein JamsidiAmir Hossein Jamsidi
It is Name resolution error. your domain name is not correct. Check for spelling mistakes or try using the IP address. You can use
VbpVbpping mydomain.com
in windows to find out ip address of your server.1,00211 gold badge1414 silver badges2727 bronze badges
I had this error too. My domian name was a subdomain like xxx.yyy.com And cpanel ftp configuration guided me that ftp server is ftp.xxx.yyy.com Fillzilla was unable to connect and showed this error:
Connection attempt failed with 'EAI_NONAME - Neither nodename nor servname provided, or not known'.
I have used IP address as ftp host rather than ftp.xxx.yyy.com
Shravan SharmaShravan Sharma
It's likely you're using a service like GoDaddy (or similar) with cPanel setup. In my case, GoDaddy usually has this error and there's no way for me to 'correctly' FTP using my domain.
The only way I've been able to fix this (strangely / stupidly) is to use your custom cPanel IP address and NOT your
domain.com
, ftp.domain.com
or domain IP address- Take your cPanel URL from your cPanel FTP page:https://abcabc123123.prod.ph12.secureserver.net:1234/cpsess1234567890/frontend/paper_lantern/ftp/accounts.html(modified for privacy)
- Either use the
abcabc123123.prod.ph12.secureserver.net
as your FTP domain, OR get your cPanel IP address via ping:
I hate that this works and my domain doesn't, but now I can FTP.
skplunkerinskplunkerin
Took me almost an hour to figure out, that leaving the port blank was the issue in my case. In Former times port 21 was used by default.
So setting
Karl AdlerPort: 21
was the solution.![Neither Nodename Nor Servname Provided, Or Not Known Neither Nodename Nor Servname Provided, Or Not Known](/uploads/1/2/4/9/124935223/264595151.gif)
7,72433 gold badges4545 silver badges6666 bronze badges
Remove 'ftp.' from HOST name. e.g. if your website is http://www.example.com & you are using 'ftp.example.com' then try with 'example.com' only as host name.... it simply worked with me!
Sirsendu ChakrabortySirsendu Chakraborty
A solution that worked for me was to use the IP address instead of the domain name and you Cpanel username and password as login credentials don't forget to set the port number to 21.
Good luck
AceRizlaAceRizla
For Godaddy & Filezilla,
- remove ftp from hostname and use domain. Example remove ftp from ftp.example.com and provide example.com as hostname
- Select Protocol - FTP
- Select Encryption - Only use plain FTP(insecure)
Try now!Enjoy!
AmjithAmjith
Not the answer you're looking for? Browse other questions tagged ftpsftpfilezilla or ask your own question.
- Feed The topics in Internet Marketing that you should be reading right now
- New Threads with the newest replies
- Top Threads voted as the best by the Warrior Forum Community
Exclusive products and services available only at Warrior Forum
Get great deals on Internet Marketing Products, Services, Trainings and other Offers at the world's largest Internet marketing marketplace
Get great deals on Internet Marketing Products, Services, Trainings and other Offers at the world's largest Internet marketing marketplace
- Categories
I've just tried loggin into filezilla, using...
Host: www.mydomain.com User: myusername P/W: mypassword
(all copied/pasted)
and get the following error:
Status: Resolving address of www.mydomain.com
Status: Connecting to xx.xx.xx.xx:...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 1 of 50 allowed.
Response: 220-Local time is now 13:40. Server port: 21.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER xxxxxxxx
Response: 331 User mydomain OK. Password required
Command: PASS ************
Response: 530 Login authentication failed
Error: Critical error
Error: Could not connect to server
To risk stating the obvious 'mydomain' is for example only
Any clues please?
thanks
Host: www.mydomain.com User: myusername P/W: mypassword
(all copied/pasted)
and get the following error:
Status: Resolving address of www.mydomain.com
Status: Connecting to xx.xx.xx.xx:...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 1 of 50 allowed.
Response: 220-Local time is now 13:40. Server port: 21.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER xxxxxxxx
Response: 331 User mydomain OK. Password required
Command: PASS ************
Response: 530 Login authentication failed
Error: Critical error
Error: Could not connect to server
To risk stating the obvious 'mydomain' is for example only
Any clues please?
thanks