Cannot Use Net View \\Localhost Command (254210)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 4.0
This article was previously published under Q254210 SYMPTOMS
When you type net view \\localhost, and then press ENTER, you may receive the following error message:
Windows NT 4.0
Error 53
"The network path was not found."
Windows 2000
Error 52
"A duplicate name exists on the network."
CAUSE
This issue can occur because the name localhost is resolved to the loopback IP Address 127.0.0.1 and NetBIOS over TCP/IP (NetBT) does not bind to the loopback address.
In Windows 2000, the SMB device binds to any IP address (this is why the 'net view' command to the loopback address works in Windows 2000 and does not work in Windows NT) but, when the new SMB device establishes the connection, it checks that it connected to the right computer by checking the end point name. This check fails because 'localhost' is not the name of the local computer.
RESOLUTION
To resolve this issue, use the name of the computer to see the shares of the local computer. You can use the Hostname command to obtain the name of the computer.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/14/2003 |
---|
Keywords: | kberrmsg kbprb kbSMB KB254210 |
---|
|