Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

127.0.0.1 vs localhost

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  images dont show in webpages  
Author Message
duncan2

External


Since: Jul 21, 2004
Posts: 2



(Msg. 1) Posted: Wed Jul 21, 2004 5:29 am
Post subject: 127.0.0.1 vs localhost
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi all,

I am encountering a strange problem... when I browse to my (clean
install of) iis server (5.1/Windows XP) using localhost, I get the usual
localstart.asp and a window that tried to load iishelp... upon further
investigation I found that neither images or html will load (for example
the WinXP.gif or the postinfo.html will not load), but the asp does run
and the output is displayed. However, if I access the site via it's IP
(127.0.0.1) I get a login prompt (which I log in with the same user I'm
already logged into Windows with) and all works fine. Obviously some
permissions thing, but what gives? (Note: that I've already tried
un/reinstalling iis).

Thanks,
Daimen

 >> Stay informed about: 127.0.0.1 vs localhost 
Back to top
Login to vote
user1936

External


Since: Jul 20, 2004
Posts: 1



(Msg. 2) Posted: Wed Jul 21, 2004 5:29 am
Post subject: RE: 127.0.0.1 vs localhost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I am having exactly the same problem. Hopefully someone will explain it to us.

"Daimen" wrote:

 > Hi all,
 >
 > I am encountering a strange problem... when I browse to my (clean
 > install of) iis server (5.1/Windows XP) using localhost, I get the usual
 > localstart.asp and a window that tried to load iishelp... upon further
 > investigation I found that neither images or html will load (for example
 > the WinXP.gif or the postinfo.html will not load), but the asp does run
 > and the output is displayed. However, if I access the site via it's IP
 > (127.0.0.1) I get a login prompt (which I log in with the same user I'm
 > already logged into Windows with) and all works fine. Obviously some
 > permissions thing, but what gives? (Note: that I've already tried
 > un/reinstalling iis).
 >
 > Thanks,
 > Daimen
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: 127.0.0.1 vs localhost 
Back to top
Login to vote
jmfordice

External


Since: Jul 20, 2004
Posts: 1



(Msg. 3) Posted: Wed Jul 21, 2004 5:29 am
Post subject: RE: 127.0.0.1 vs localhost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I am having exactly the same problem. Hopefully someone will explain it to us.

Jim

"Daimen" wrote:

 > Hi all,
 >
 > I am encountering a strange problem... when I browse to my (clean
 > install of) iis server (5.1/Windows XP) using localhost, I get the usual
 > localstart.asp and a window that tried to load iishelp... upon further
 > investigation I found that neither images or html will load (for example
 > the WinXP.gif or the postinfo.html will not load), but the asp does run
 > and the output is displayed. However, if I access the site via it's IP
 > (127.0.0.1) I get a login prompt (which I log in with the same user I'm
 > already logged into Windows with) and all works fine. Obviously some
 > permissions thing, but what gives? (Note: that I've already tried
 > un/reinstalling iis).
 >
 > Thanks,
 > Daimen
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 127.0.0.1 vs localhost 
Back to top
Login to vote
user1772

External


Since: Jun 10, 2004
Posts: 1807



(Msg. 4) Posted: Wed Jul 21, 2004 6:34 pm
Post subject: Re: 127.0.0.1 vs localhost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 21 Jul 2004 02:29:14 -0400, Daimen <duncan RemoveThis @3w3d.com> wrote:

 >I am encountering a strange problem... when I browse to my (clean
 >install of) iis server (5.1/Windows XP) using localhost, I get the usual
 >localstart.asp and a window that tried to load iishelp... upon further
 >investigation I found that neither images or html will load (for example
 >the WinXP.gif or the postinfo.html will not load), but the asp does run
 >and the output is displayed. However, if I access the site via it's IP
 >(127.0.0.1) I get a login prompt (which I log in with the same user I'm
 >already logged into Windows with) and all works fine. Obviously some
 >permissions thing, but what gives? (Note: that I've already tried
 >un/reinstalling iis).

Two things. First, Zone Alarm may be dropping your images. Second,
IE won't pass credentials to non-local domains, and 127.0.0.1 isn't
local, even though you think it is. Smile

If you want anonymous access, turn off Windows Authentication. If you
want authentication, add the 127.0.0.1 "domain" to your intranet zone
of IE's security. Or just use localhost, or the FQDN of your system
(which likely needs to be trusted by IE as well...)

Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 127.0.0.1 vs localhost 
Back to top
Login to vote
duncan3

External


Since: Jul 21, 2004
Posts: 1



(Msg. 5) Posted: Wed Jul 21, 2004 6:34 pm
Post subject: Re: 127.0.0.1 vs localhost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <41008c8a.17865078.DeleteThis@msnews.microsoft.com>,
jeff.nospam.DeleteThis@zina.com says...
 > On Wed, 21 Jul 2004 02:29:14 -0400, Daimen <duncan.DeleteThis@3w3d.com> wrote:
 >
  > >I am encountering a strange problem... when I browse to my (clean
  > >install of) iis server (5.1/Windows XP) using localhost, I get the usual
  > >localstart.asp and a window that tried to load iishelp... upon further
  > >investigation I found that neither images or html will load (for example
  > >the WinXP.gif or the postinfo.html will not load), but the asp does run
  > >and the output is displayed. However, if I access the site via it's IP
  > >(127.0.0.1) I get a login prompt (which I log in with the same user I'm
  > >already logged into Windows with) and all works fine. Obviously some
  > >permissions thing, but what gives? (Note: that I've already tried
  > >un/reinstalling iis).
 >
 > Two things. First, Zone Alarm may be dropping your images. Second,
 > IE won't pass credentials to non-local domains, and 127.0.0.1 isn't
 > local, even though you think it is. Smile

It's not that the images are being dropped, it's that they're timing out
when trying to be downloaded, IE just keeps trying... and then why would
html behave the same? I'm pretty sure I tried with ZA turned off, that
was one of my suspicions too, but I'll try again when I get home.
Thanks.

 >
 > If you want anonymous access, turn off Windows Authentication. If you
 > want authentication, add the 127.0.0.1 "domain" to your intranet zone
 > of IE's security. Or just use localhost, or the FQDN of your system
 > (which likely needs to be trusted by IE as well...)
 >
 > Jeff
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 127.0.0.1 vs localhost 
Back to top
Login to vote
qbernard1

External


Since: Dec 23, 2003
Posts: 905



(Msg. 6) Posted: Wed Jul 21, 2004 9:31 pm
Post subject: Re: 127.0.0.1 vs localhost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

This is by design, refer
Intranet site is identified as an Internet site when you use an FQDN or an
IP address
<a style='text-decoration: underline;' href="http://support.microsoft.com/?id=303650" target="_blank">http://support.microsoft.com/?id=303650</a>

as for the image not loading issue, check iis log file

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://www.tryiis.com/" target="_blank">http://www.tryiis.com/</a>
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.msmvps.com/bernard/" target="_blank">http://www.msmvps.com/bernard/</a>



"Daimen" <duncan.DeleteThis@3w3d.com> wrote in message
news:MPG.1b67d7489e0c00cb989680@msnews.microsoft.com...
 > Hi all,
 >
 > I am encountering a strange problem... when I browse to my (clean
 > install of) iis server (5.1/Windows XP) using localhost, I get the usual
 > localstart.asp and a window that tried to load iishelp... upon further
 > investigation I found that neither images or html will load (for example
 > the WinXP.gif or the postinfo.html will not load), but the asp does run
 > and the output is displayed. However, if I access the site via it's IP
 > (127.0.0.1) I get a login prompt (which I log in with the same user I'm
 > already logged into Windows with) and all works fine. Obviously some
 > permissions thing, but what gives? (Note: that I've already tried
 > un/reinstalling iis).
 >
 > Thanks,
 > Daimen<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 127.0.0.1 vs localhost 
Back to top
Login to vote
duncan2

External


Since: Jul 21, 2004
Posts: 2



(Msg. 7) Posted: Thu Jul 22, 2004 1:22 am
Post subject: Re: 127.0.0.1 vs localhost [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yup, ZoneAlarm was the culprit... creating a custom rule to allow
connections to localhost fixed the problem. Thanks!

In article <MPG.1b68814e9fc46336989680.DeleteThis@msnews.microsoft.com>, duncan@
3w3d.com says...
 > In article <41008c8a.17865078.DeleteThis@msnews.microsoft.com>,
 > jeff.nospam.DeleteThis@zina.com says...
  > > On Wed, 21 Jul 2004 02:29:14 -0400, Daimen <duncan.DeleteThis@3w3d.com> wrote:
  > >
   > > >I am encountering a strange problem... when I browse to my (clean
   > > >install of) iis server (5.1/Windows XP) using localhost, I get the usual
   > > >localstart.asp and a window that tried to load iishelp... upon further
   > > >investigation I found that neither images or html will load (for example
   > > >the WinXP.gif or the postinfo.html will not load), but the asp does run
   > > >and the output is displayed. However, if I access the site via it's IP
   > > >(127.0.0.1) I get a login prompt (which I log in with the same user I'm
   > > >already logged into Windows with) and all works fine. Obviously some
   > > >permissions thing, but what gives? (Note: that I've already tried
   > > >un/reinstalling iis).
  > >
  > > Two things. First, Zone Alarm may be dropping your images. Second,
  > > IE won't pass credentials to non-local domains, and 127.0.0.1 isn't
  > > local, even though you think it is. Smile
 >
 > It's not that the images are being dropped, it's that they're timing out
 > when trying to be downloaded, IE just keeps trying... and then why would
 > html behave the same? I'm pretty sure I tried with ZA turned off, that
 > was one of my suspicions too, but I'll try again when I get home.
 > Thanks.
 >
  > >
  > > If you want anonymous access, turn off Windows Authentication. If you
  > > want authentication, add the 127.0.0.1 "domain" to your intranet zone
  > > of IE's security. Or just use localhost, or the FQDN of your system
  > > (which likely needs to be trusted by IE as well...)
  > >
  > > Jeff
  > >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 127.0.0.1 vs localhost 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SP2 and localhost - I have XP SP1, and I do development on my localhost using ASP and SQLServer. I use ZoneAlarm for my firewall. I feel I should install XP SP2 and SQLServer SP3a. Should I expect problems when I install SP2? TIA Tom

localhost? - XP Pro / SR2 Installed IIS All services are started... Navigate to http://localhost "page cannot be found" ... ???? What gives? -- Frank Bachman (Grumpy Aero Guy)

Localhost - I installed IIS, In a LAN environment, for a work station. localhost does not work! when i do ping IP address from command line, I can see reply from work startion BUT when I put IP address in address bar, there is no respond! what is the different..

LocalHost - Hi, I have IIS 5 on Win2K box. This machine has 2 internal IPs on a network card, and 2 external IPs on another card. In host file, I have 127.0.0.1 localhost 10.192.0.2 myserver When I ping localhost, I get a good reponse, but when in..

Can't see localhost on IIS - Hello, I've installed, removed, reinstalled IIS server on a Windows 2000 server machine. When I try to access the http://locahost I get the following error HTTP 500 - Internal server error Internet Explorer Thanks. Gary
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]