Thursday, May 24, 2007

Fix: Firefox tries to navigate to "www.localhost.com"

I was having a problem at work last week where when I would point Firefox to http://localhost/, it would instead try to navigate to http://www.localhost.com/.

The problem ended up being related to the settings for my proxy server. I was able to fix the problem on my machine by adding "localhost" to the list of hosts for which Firefox bypasses the proxy server.

In Firefox 2.0, you can do this by going to Tools | Options | Advanced | Network tab and clicking the "Settings..." button in the "Connection" section on the dialog. Then, in the Connection Settings dialog, in the "No Proxy For" field, type localhost. (The new value should be separated from other host names that are already present in the field, if there are any, by a comma.)

Note that this solution is most likely only applicable if you are using a proxy server to connect to the Internet (i.e. if the "Manual proxy configuration" radio button on the Connection Settings dialog is checked).

1 comment:

  1. JON. I'M A FAN OF YOUR PROGRAM "BOUNDS TEST" BUT I HAVE THE ICON IN MY "QUICK LAUNCH" AREA AND I CAN'T TELL WHICH PROGRAM IT IS BECAUSE IT HAS NO ICON. I AM REQUESTING THAT YOU PLEASE ADD AN ICON TO THE PROGRAM. THANK YOU VERY MUCH.

    ReplyDelete

Non-spammers: Thanks for visiting! Please go ahead and leave a comment; I read them all!

Attention SPAMMERS: I review all comments before they get posted, and I REPORT 100% of spam comments to Google as spam! Why not avoid getting your account banned as quickly -- and save us both a little time -- by skipping this comment form and moving on to the next one on your list? Thanks, and I hope you have a great day!