IIS6 Not Listening on Localhost/127.0.0.1

IIS6 Not Listening on Localhost/127.0.0.1

am 24.04.2008 13:10:00 von BenB

Hi,

I'm trying to install a web application which _has_ to use the (All
Unassigned) IP address.

I've installed the application and configured it as per the install guide,
but when trying to browse to the site using http://localhost or
http://127.0.0.1 Internet Explorer fails to connect, and all I see is an
error "Internet Explorer cannot display the webpage". However, if I change
the IP of the site to that of the NIC - 192.168.0.10 - then visit
http://192.168.0.10 in IE, the page is displayed correctly.

Sadly I can't use the site with a fixed IP because the backend part of the
application communicates using localhost/127.0.0.1.

I can ping 127.0.0.1, but if I use TCPView (SysInternals) nothing is
listening on 127.0.0.1:80, when I change the website IP to fixed and run
TCPView again, it shows IIS is listening on 192.168.0.10:80. I've also tried
Telnet, if I open a connect to "127.0.0.1 80" I get an error returned "Could
not open connection to the host on port 80: Connect failed". Again if I
change the IP to fixed, and telnet to "192.168.0.10 80" I get a response,
albeit a "HTTP/1.1 400 Bad Request" error, but its still a response!

Its almost as if IIS doesn't want to listen on the loopback address. But I
can't figure out why! Has anyone ever come across this? Or know of a possible
fix?

Many thanks

Ben

Re: IIS6 Not Listening on Localhost/127.0.0.1

am 24.04.2008 18:29:17 von Dooza

BenB wrote:
> Hi,
>
> I'm trying to install a web application which _has_ to use the (All
> Unassigned) IP address.
>
> I've installed the application and configured it as per the install guide,
> but when trying to browse to the site using http://localhost or
> http://127.0.0.1 Internet Explorer fails to connect, and all I see is an
> error "Internet Explorer cannot display the webpage". However, if I change
> the IP of the site to that of the NIC - 192.168.0.10 - then visit
> http://192.168.0.10 in IE, the page is displayed correctly.
>
> Sadly I can't use the site with a fixed IP because the backend part of the
> application communicates using localhost/127.0.0.1.
>
> I can ping 127.0.0.1, but if I use TCPView (SysInternals) nothing is
> listening on 127.0.0.1:80, when I change the website IP to fixed and run
> TCPView again, it shows IIS is listening on 192.168.0.10:80. I've also tried
> Telnet, if I open a connect to "127.0.0.1 80" I get an error returned "Could
> not open connection to the host on port 80: Connect failed". Again if I
> change the IP to fixed, and telnet to "192.168.0.10 80" I get a response,
> albeit a "HTTP/1.1 400 Bad Request" error, but its still a response!
>
> Its almost as if IIS doesn't want to listen on the loopback address. But I
> can't figure out why! Has anyone ever come across this? Or know of a possible
> fix?
>
> Many thanks
>
> Ben

Windows Firewall issue maybe?

Steve