Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Internet Explorer waiting for localhost forever

When I try to open localhost in IE9 or IE10 on Windows7 (64bit) with Apache 2.2 it takes forever to resolve the URL. Other browsers have no problem and immediately resolve the URL, only IE shows the "Waiting for localhost" in browser tab while loading icon keeps animating forever. Sometimes stopping and refreshing works, but often not. Using 127.0.0.1 instead of localhost doesn't make any difference, nor does resetting all IE settings. In my hosts file I have:

# localhost name resolution is handled within DNS itself.
#   127.0.0.1 localhost
#   ::1 localhost

Any idea what could be causing this problem?

like image 413
smohadjer Avatar asked Aug 18 '13 17:08

smohadjer


2 Answers

I was having the same issue and found solution here http://forum.wampserver.com/read.php?2,116971,119284

Following settings in httpd.conf worked for me.

Add these lines:

#Fix IE crashing Apache
AcceptFilter http none
AcceptFilter https none

above this line:

Include "d:/wamp/alias/*"
like image 158
Abdullah Avatar answered Nov 12 '22 11:11

Abdullah


This problem may be caused by conflicts with IIS, if you have IIS installed

You can reset IE settings.. for more visit http://windows.microsoft.com/en-us/windows7/Reset-Internet-Explorer-settings-in-Internet-Explorer-9

This tech guide describes the steps for resetting the advanced settings on Windows 7 for IE9.

like image 1
Amith Avatar answered Nov 12 '22 13:11

Amith