8
But it's fine when I'm using firefox,
and in IE I can also open the page via 127.0.0.1
Anyone knows how to fix it for IE?
8
But it's fine when I'm using firefox,
and in IE I can also open the page via 127.0.0.1
Anyone knows how to fix it for IE?
20
You should add http://
before localhost:port
for IE. Unlike other browsers, IE needs to know what protocol is being used.
Are you sure? I just tried typing only localhost
and IE turned it to http://localhost/
.. – Bibhas – 2012-01-31T19:06:47.357
1Good habit is to include the protocol first; however if it is just localhost
and no actual port number, you can usually just do what you stated and type localhost
without issue. If you need port numbers though, you should used the proper protocol format. – zackrspv – 2012-02-01T00:58:32.520
2
Some things to try:
try adding the port to localhost: localhost:80 or localhost:8080
try checking proxy bypass settings for Internet Explorer (Tools -> Options), make sure it's set to proxy bypass for localhost
Check C:\windows\system32\config\etc\hosts
and make sure the localhost entry is there
I tried all the above,but still not working. – user11671 – 2010-01-24T15:20:22.930
localhost still works in Win7 for me, using the latest IE. – cutrightjm – 2012-01-31T17:40:43.300
3Under Windows 7, hosts no longer contains an entry for localhost (this is mentioned in the comments). – Richard – 2010-01-17T09:37:17.860
1
Old thread, but I thought this may help someone.
Windows 7 Pro / IE 11
I had the exact same issue (http://localhost works in Chrome, and 127.0.0.1 worked in IE too). Tried various things like updating hosts file entry, disable ipv6 in network settings etc.. nothing worked.
Finally fixed by adding http://localhost to trusted site in IE Settings Internet Options>Security>Trusted sites. Make sure to un check the "Require Server verification (https).. " option when adding the trusted site address.
0
If your local host uses default port(i.e 80) then it will resolve . If it uses different port then you will have to specify the protocol.
0
In my case, it is because there some add-ons that always go to search engine when I browse to my localhost. So I just disable this add-ons in Tools > Manage Add-ons > Click Search Provider > Set Default to Bing,
and my problem is gone.
Oh wow, THANK YOU for saying that you could connect using 127.0.0.1. I didn't think of that, and it's helped me get past this error at work. I LOVE YOU – clamum – 2017-01-26T21:16:57.317
4What error message do you get? What result did you expect? – James Polley – 2010-01-17T09:03:02.510