Troubleshooting the LMHOSTS File
When using the LMHOSTS file, problems, like failure to locate a remote computer, can occur due to the presence in the LMHOSTS file of one or more of the following errors:
Absence of an entry for the remote server.
Misspelling of a computer's NetBIOS name. (Note that NetBIOS names are automatically converted to uppercase.)
Invalid IP address for a computer name.
Missing the required carriage return character at the end of the last entry.