Re: Localhost problem
- From: "Dariusz Hoszowski" <dh@xxxxxx>
- Date: Thu, 30 Nov 2006 12:52:04 +0100
Yes,
that's right what you're saying but ... i have in lmohosts (not
lnhosts.sam) an entry:
127.0.0.1 localhost
and it's not working.
Regards,
Dariusz Hoszowski
"John Wunderlich" <jwunderlich@xxxxxxxxx> wrote in message
news:Xns988ABE15D1A3Cwunderpsdrscraytheon@xxxxxxxxxxxxxxxxx
"Chuck" <none@xxxxxxxxxxx> wrote in message"Dariusz Hoszowski" <dh@xxxxxx> wrote in
news:6t7rm21tmaec31malpinls7iotk99hk5s9@xxxxxxxxxx
On Wed, 29 Nov 2006 10:01:47 +0100, "Dariusz Hoszowski"
<dh@xxxxxx> wrote:
Hi,
i didn't find any information why \\localhost doesn't work on
Windows XP
(when i ping localhost everything looks fine IP 127.0.0.1 is
returned and all 4 pings are ok). I have checked all my IP
settings, DNS, WINS, hosts file, etc. All what i can check seems
to be ok. I have installed new Windows
XP SP2 (without any KB - i was thinking that it should be a KB
problem) but
it's also not working. I have checked \\localhost on Windows
Server 2003 SP1
and ... voila works fine. I do some investigation and check
information in technet, microsoft site and google ... found
nothing about that (or i have missed something). Could someone
tell me why \\localhost doesn't work on Windows XP SP2 (and i
have forgotten, Windows firewall was turned off on all my test
machines). When i put \\127.0.0.1 in explorer (or
\\computer-netbios-name) then local shares are displayed, but
\\localhost doesn't work - strange ... The error is (Windows
cannot find "\\localhost". Check the spelling and try again, or
try searching for the item by clicking the Start button and then
clicking Search) .
Does anyone know why it's not working on Windows XP SP2 ?
Thanks,
Dariusz Hoszowski
Dariusz,
Look in Hosts. Is "localhost" defined there? Is that the only
Hosts file?
<http://nitecruzr.blogspot.com/2005/07/local-name-and-address-reso
lution-on.html>
http://nitecruzr.blogspot.com/2005/07/local-name-and-address-resol
ution-on.html
Is the absence of "localhost" the only symptom observed?
--
Cheers,
Chuck, MS-MVP [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from
experience. My email is AT DOT
actual address pchuck mvps org.
news:uhUcar8EHHA.1784@xxxxxxxxxxxxxxxxxxxx:
Chuck,
yes - there is only one hosts file. There is localhost
127.0.0.1 in it.
It is the only symptom i can observe (and it is not only in my
network but it seems to be also at my collegues networks).
Everything besides \\localhost works fine.
Regards,
Dariusz Hoszowski
There is a subtle difference here.
The "ping" routine is a TCP/IP client and therefore uses the "hosts"
file.
Using \\localhost in an explorer window is using NetBios (or NetBT)
protocol. NetBT does not use the "hosts" file, rather it uses the
"lmhosts" file. Most XP machines have a "lmhosts.sam" (sample) file
that can be used by renaming to remove the .sam extension. Then you
can add a line at the end similar to the line in the hosts file.
See:
"Differences Between the HOSTS and LMHOSTS Files in Windows NT"
<http://support.microsoft.com/kb/105997/en-us>
HTH,
John
.
- References:
- Localhost problem
- From: Dariusz Hoszowski
- Re: Localhost problem
- From: Chuck
- Re: Localhost problem
- From: Dariusz Hoszowski
- Re: Localhost problem
- From: John Wunderlich
- Localhost problem
- Prev by Date: Re: Small Home Network
- Next by Date: Re: Localhost problem
- Previous by thread: Re: Localhost problem
- Next by thread: Re: Localhost problem
- Index(es):
Relevant Pages
|