localhost does not work in new installation of IIS 5.1

localhost does not work in new installation of IIS 5.1

am 25.02.2005 09:40:11 von David Fredericks

I am unable to reference any web page using http://localhost as a prefix.
If I substitute "127.0.0.1" or "192.168.1.101" (the intranet address) for
"localhost", it works okay.

The environment is Windows XP Pro SP2, IIS 5.1, .NET Framework 1.1, new
install. Windows Firewall is off. This PC was just upgraded from Windows
2000 to Windows XP Pro. localhost worked fine on the Windows 2000
installation but has never worked since upgrading to XP. I have reset IE to
all default settings. Nothing unusual in the event logs. Uninstalled IIS
and reinstalled it; no help.

When I ping 127.0.0.1, I get a reply from "127.0.0.1". When I ping
localhost, I get a reply from "::1". When I try this on another PC with XP
installed and a functional IIS, the reply comes from "127.0.0.1". This must
be a clue but I don't know what it means.

Searched the web to no avail.

What should I check.?


DF

Re: localhost does not work in new installation of IIS 5.1

am 25.02.2005 16:20:42 von jeff.nospam

On Fri, 25 Feb 2005 00:40:11 -0800, "David Fredericks"
wrote:

>I am unable to reference any web page using http://localhost as a prefix.
>If I substitute "127.0.0.1" or "192.168.1.101" (the intranet address) for
>"localhost", it works okay.
>
>The environment is Windows XP Pro SP2, IIS 5.1, .NET Framework 1.1, new
>install. Windows Firewall is off. This PC was just upgraded from Windows
>2000 to Windows XP Pro. localhost worked fine on the Windows 2000
>installation but has never worked since upgrading to XP. I have reset IE to
>all default settings. Nothing unusual in the event logs. Uninstalled IIS
>and reinstalled it; no help.
>
>When I ping 127.0.0.1, I get a reply from "127.0.0.1". When I ping
>localhost, I get a reply from "::1". When I try this on another PC with XP
>installed and a functional IIS, the reply comes from "127.0.0.1". This must
>be a clue but I don't know what it means.
>
>Searched the web to no avail.
>
>What should I check.?

You DNS to make sure that "localhost" isn't entered in it and your
HOSTS file to make sure it resolves "localhost" to 127.0.0.1.

It's not IIS.

Jeff

Re: localhost does not work in new installation of IIS 5.1

am 25.02.2005 19:31:37 von David Fredericks

Jeff... thanks a lot. You got me looking in the right direction. The
problem was caused by IPV6 being installed. I uninstalled it and the pings
returned to normal and localhost is working.

DF


"Jeff Cochran" wrote in message
news:4225421d.909208052@msnews.microsoft.com...
> On Fri, 25 Feb 2005 00:40:11 -0800, "David Fredericks"
> wrote:
>
>>I am unable to reference any web page using http://localhost as a prefix.
>>If I substitute "127.0.0.1" or "192.168.1.101" (the intranet address) for
>>"localhost", it works okay.
>>
>>The environment is Windows XP Pro SP2, IIS 5.1, .NET Framework 1.1, new
>>install. Windows Firewall is off. This PC was just upgraded from
>>Windows
>>2000 to Windows XP Pro. localhost worked fine on the Windows 2000
>>installation but has never worked since upgrading to XP. I have reset IE
>>to
>>all default settings. Nothing unusual in the event logs. Uninstalled IIS
>>and reinstalled it; no help.
>>
>>When I ping 127.0.0.1, I get a reply from "127.0.0.1". When I ping
>>localhost, I get a reply from "::1". When I try this on another PC with
>>XP
>>installed and a functional IIS, the reply comes from "127.0.0.1". This
>>must
>>be a clue but I don't know what it means.
>>
>>Searched the web to no avail.
>>
>>What should I check.?
>
> You DNS to make sure that "localhost" isn't entered in it and your
> HOSTS file to make sure it resolves "localhost" to 127.0.0.1.
>
> It's not IIS.
>
> Jeff