Chrome and Firefox can reach localhost; Internet Explorer 9 can't. Why?

2

1

The title is pretty self explanatory. I have a Windows 7 environment with IIS7 installed. I'm sure this is the result of me mucking around with settings at some point. Trying to avoid a fresh Windows install.

Quick breakdown of what I've tried:

  • Resetting IEs settings back to defaults.
  • Using the IP address of the machine vs. localhost. Using the IP does work.
  • Pinging localhost. I can, which isn't surprising because Firefox/Chrome have no problem resolving it.

Any other ideas?

vpiTriumph

Posted 2012-05-17T20:19:31.080

Reputation: 151

1Can you try again with IPv6 disabled? I suspect a broken IPv6 setup. – Gurken Papst – 2012-05-17T20:37:38.937

I actually saw this suggested elsewhere so my IPv6 is already disabled for the Wireless NIC I'm using to connect to the internet. – vpiTriumph – 2012-05-17T20:51:24.233

I must admit that I don't know how Windows is handling loopback connections in detail, since there is no dedicated loopback adapter. So just to be sure, disable IPv6 support on all NICs (or temporarily remove the protocol entirely). – Gurken Papst – 2012-05-17T21:30:22.007

Disabled on all. Still no luck. Could this possibly have to do with my Hosts file? I searched for what a default one should look like in Windows 7 and mine appears to match. – vpiTriumph – 2012-05-17T21:39:47.310

Okay, after a bit more wasted time I realized I had clicked 'Restore advanced settings' as opposed to the more encompassing 'Reset Internet Explorer settings' similarly on the Advanced tab. Once I did this, I'm back in business. Thanks for the effort guys. – vpiTriumph – 2012-05-18T14:26:19.753

@vpiTriumph - Hey, why don't you add what you put in the previous comment as the answer to this question. It's correct, and you just helped someone else out with this information. +1 to your question, and I'd +1 the answer to if you put one there :) Thanks! – jmort253 – 2012-05-26T06:42:33.747

Answers

3

After a bit more wasted time I realized I had clicked 'Restore advanced settings' earlier as opposed to the button under the more encompassing 'Reset Internet Explorer settings' similarly on the Advanced tab.

Once I did this my localhost once again works correctly.

vpiTriumph

Posted 2012-05-17T20:19:31.080

Reputation: 151

2

Is localhost in the correct security zone for Internet Explorer? Security zone settings apply only to IE and several other Windows-specific applications, so this may explain this problem.

bwDraco

Posted 2012-05-17T20:19:31.080

Reputation: 41 701

I had localhost listed in my Trusted Zone. This shouldn't cause a problem but I cleared it just to be safe. Didn't make a difference unfortunately. – vpiTriumph – 2012-05-17T20:49:15.187

0

maybe you need to add some exceptions(addresses) that you do not need to access via proxy. Just like the pic attached.

Khusen Milanisti

Posted 2012-05-17T20:19:31.080

Reputation: 21

You can't post images. Post me a link in the comments and I'll embed it for you if it has to be. Or can you edit your answer to be more clear even without a picture? – slhck – 2012-06-12T19:46:56.763

0

I had to add the domain name (http://local.example.com) to "Security" > "Local Intranet" > "Sites" > "Advanced" before I could access it in IE 11.

Pieter Coucke

Posted 2012-05-17T20:19:31.080

Reputation: 101

Hello and welcome to superuser.com. Does you answer also apply for IE9? – Mogget – 2013-11-14T20:45:24.593

@Mogget: Sorry, I only have IE 11. – Pieter Coucke – 2013-11-20T14:16:58.270