Cannot PING Computer on Last Line of HOSTS FileLast reviewed: May 12, 1997Article ID: Q105998 |
The information in this article applies to:
SYMPTOMSIf you add an entry to the HOSTS file (for TCP/IP utilities) and then try to use the PING command to access that computer, you may receive the following error message:
<friendlyname>:Unknown Host CAUSEThis error message may be caused by not having a carriage return after the last line in the HOSTS file. This problem usually occurs only when you try to communicate with the computer on the last line of the HOSTS file, because the other lines should have carriage returns. NOTE: There may be numerous other causes for this error message.
RESOLUTIONTo avoid this error message, use Notepad (or any text editor) to edit the HOSTS file and add a carriage return to the last line. If you add a carriage return to the last line of the HOSTS file created above, the PING command works correctly. For additional information on the HOSTS file in Windows NT, query on the following words in the Microsoft Knowledge Base:
hosts and windows and ntFor additional information on the troubleshooting TCP/IP connectivity with Windows NT, query on the following words in the Microsoft Knowledge Base:
tcp/ip and tshoot and windows and nt MORE INFORMATION
Steps to Reproduce Problem
|
Additional query words: prodnt
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |