“HTTP request status” in Drupal 6.x on localhost
I just set up XAMPP on my Vista x64 PC and found that after installing Drupal 6 that the status report was throwing up an error.
HTTP request status
Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services.
It took a while to find the solution, but I eventually found it on drupal.org. The solution was posted by mrSjoerd.
- Open up the hosts file which is located at C:\Windows\System32\drivers\etc in notepad
- You should find a line like the following at the bottom:
::1 localhost - Add a # in front of it to make it look like this:
#::1 localhost - Save the file and close notepad.
- Refresh the status page in Drupal and the error should be gone. This should work without a restart, but if it doesn’t work without a restart it is worth a try.
14 Comments to ““HTTP request status” in Drupal 6.x on localhost”
Leave a Reply

This solve the problem. Thank you very much!
Thanks! This worked.
Excellent! Thank you. I’ve been searching for hours for this solution. Now I just need to figure out why it worked.
Apache uses the hosts file. So when it does a localhost request it was looking at the IPv6 IP address. You comment it out and it uses IPv4. Not sure if this is a Drupal thing or an Apache thing, I am sure Apache must be upto date for IPv6 though.
Thanx many. Tried all kind of thinks at this finally did it.
Cheers
I am on Windows 7 RC x64 and experiencing the same issue with the latest Drupal (6.13) and Wamp (2.0h). That line had the # already but which didn’t help but removing the line entirely worked.
Hey dude, thanks for the help this fixed my problem :D
that was great! ass-saver article!
Worked like a charm.
Tried using the example you stated above but everytime i try to save it after adding the # sign, it comes up with this error report “pls check weather if this file is opened by another program”.
What other program could be using it?
@greenavus, Go to Start, type in notepad, then right click notepad and select Run as Administrator. Navigate to the hosts file and open, edit and save it.
Thank you, thank you, thank you soo much. I tried everysingle suggestion on the official drupal forum and it did not work. This was by far the simplest and the best solution.
Will be a regular visitor to your blog from now on.
Many thanks! That was clear, concise, and very helpful.
thanks for the help!!