all groups > iis security > march 2005 >
You're in the

iis security

group:

localhost vs IP address in IE


localhost vs IP address in IE genc_ ymeri at hotmail dot com
3/9/2005 4:22:36 PM
iis security:
Hi,
I'm setting up (for my own studies) an IIS webserver in win2003 server. I
have a pretty simple "welcome" webform (programmed in .Net if that matters).
So far so good. The problem is that if I launch IE and type http://localhost
or http://127.0.0.1 nothing shows up expect the error page,,,,, but if I
type http://MyServerName or its local IP address http://192.168.1.107 the
webpage shows properly.

Am I missing something in IIS config ?????

Thanks in advance,
Genc.

PS:
I opened up the host file it it seems to be fine with the follow setting

127.0.0.1 localhost

Re: localhost vs IP address in IE genc_ymeri
3/9/2005 11:00:28 PM
No.... All I have is as win2003 server behind a router. I just can't get it
why when I type http://localhost , it doesn't get the web page running while
writing its IP address 192.168.1.107 or when I type http://Myserver it works
fine



[quoted text, click to view]

Re: localhost vs IP address in IE genc_ ymeri at hotmail dot com
3/10/2005 12:18:29 AM
Jason,
I really appreciate every advice you give to me. I did check the IE
properties and no proxy option is checked. Another thing I just realized is
that when I try to open a new ASP.Net web project with VS/C# an error shows
up saying "Error 400. Bad request. No localhost found or something like
.........."


Thanks a lot.




[quoted text, click to view]

Re: localhost vs IP address in IE Alun Jones [MSFT]
3/10/2005 8:01:05 AM
[quoted text, click to view]

Possibly - what address is the server set to listen on?

If your server is set to listen on 192.168.1.107:80, then it will only be
reachable at that address and port. If you have it set to listen to
0.0.0.0:80 ("All unassigned addresses"), it will be reachable at all
addresses that are not bound to another site.

Alun.
~~~~
--
Software Design Engineer, Internet Information Server (FTP)
This posting is provided "AS IS" with no warranties, and confers no rights.

Re: localhost vs IP address in IE genc_ ymeri at hotmail dot com
3/10/2005 11:29:05 AM
[quoted text, click to view]

I did play with them too in the sense that I set it to listen only to
192.168.1.107:80 and/or 0.0.0.0:80 ("All unassigned addresses"), but still
did not work. I just removed the IIS role and installed it again, it worked
perfect afterwards...


Thanks a lot,

Genc

Re: localhost vs IP address in IE Jason Brown [MSFT]
3/10/2005 11:33:28 AM
Do you use a proxy server, by any chance? It could be that you don't have
'bypass proxy server for local addresses' checked in Internet Explorer's
connection options.



--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

[quoted text, click to view]

Re: localhost vs IP address in IE genc_ ymeri at hotmail dot com
3/10/2005 3:04:00 PM
Jason,
I unistalled/reinstalled the IIS role and it did fix it.

Thank you.
[quoted text, click to view]

Re: localhost vs IP address in IE Jason Brown [MSFT]
3/10/2005 3:05:37 PM
Did you check your IE connection properties, though? It doesn't sound like
you did. Sorry to sound patronising, but that's how it sounds. you don't
need to have a proxy inside your router to end up using one in your IE
settings.


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Re: localhost vs IP address in IE Jason Brown [MSFT]
3/10/2005 5:44:13 PM
OK. leave this one with me, I'll have a look around. It rings a bell, but I
think I need to refresh my memory on it. I'll probably kick myself when I
find it.


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

Re:localhost vs IP address in IE linux par
4/2/2006 6:05:24 AM
Configuring Internet Explorer to use proxy server has never been easier:

If you want to configure it from command line, look at:
http://ieproxycfg.50webs.com/index.html
and if you are looking for UI approch, look at:
http://ieproxycfg.50webs.com/proxychain.html

C'ya

AddThis Social Bookmark Button