Archived Forum Post

Index of archived forum posts

Question:

Error: Cannot get host by name?

Aug 30 '13 at 09:24

Connecting fails with this error message in the LastErrorText:

Cannot get host by name..
hostname: xyz.co.jp

What is the cause?


Answer

This indicates an external DNS failure. This is an external systems administration problem. The cause of the problem is not within the application or the Chilkat component/lib. The problem may be demonstrated by opening a DOS command prompt (or a Linux shell) and typing the following:

nslookup xyz.co.jp
Once the nslookup command is working, then the DNS lookup within Chilkat should also work.