Re: Localhost problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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



"Chuck" <none@xxxxxxxxxxx> wrote in message
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-resolution-on.html>
http://nitecruzr.blogspot.com/2005/07/local-name-and-address-resolution-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.


.



Relevant Pages

  • "we have been hacked"
    ... If you see this page your hosts file has been hacked. ... all patches for your computer from the Windows Update Site ... How to edit your hosts file: ... lines from the file and type in: 127.0.0.1 localhost. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Incoming Mail Server Resetting Itself
    ... >>Each time I close Outlook Express the Incoming Mail Server ... >>gets reset to localhost. ... You'll get the Windows dialog box asking how to open the file. ... Look carefully at each hosts file. ...
    (microsoft.public.windowsxp.general)
  • Problem with explorer
    ... If you see this page your hosts file has been hacked. ... all patches for your computer from the Windows Update ... How to edit your hosts file: ... lines from the file and type in: 127.0.0.1 localhost. ...
    (microsoft.public.inetserver.iis.security)
  • hacked
    ... >all patches for your computer from the Windows Update ... Clear your 'hosts' file. ... >will bring up a list of programs to edit the file with. ... >lines from the file and type in: 127.0.0.1 localhost. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: WindowsUpdate_80244019 Help
    ... On windows XP you can start updating from the microsoft's website, ... Is that entry in HOSTS, ... MowGreen [MVP 2003-2009] ... Scroll down to Win HTTP Web Proxy Auto-Discovery Service ...
    (microsoft.public.windowsupdate)