Skip to content

www.rolfje.com

No more www.localhost.com

Posted on 2008-05-06 By rolfje 6 Comments on No more www.localhost.com

I’m using a few development servers over SSH, and for that I have used myEntunnel to tunnel a few remote ports to my local machine. When I screw up my configuration or forget to start myEntunnel, Firefox is “smart enough” to change “localhost:9090” into “http://www.localhost.com:9090” when it can’t reach the local port.

More people are having this problem, and apparently there is a configuration trick to stop Firefox from adding “www” and “com” to the URL when it can’t reach the site. Read more about it at the latenightpc blog.

In FireFox 2, do the following:

  1. Type about:config in the address bar and hit return.
  2. find browser.fixup.alternate.enabled
  3. double click the “true” value. The line will become bold, and the value will change to “false”

That’s it. Happy browsing!

Software Tags:FireFox

Post navigation

Previous Post: How Norton Fixes it’s Software
Next Post: Sell Car, Buy Helicopter

Comments (6) on “No more www.localhost.com”

  1. tiendao says:
    2009-03-19 at 05:51

    Thanks a lot!

    Reply
  2. bsara says:
    2009-06-23 at 12:06

    Dear Rolfje,
    This post was very interesting. I am new to web development and when I tried to find localhost, my firefox browser was behaving exactly as you described.
    Now that I’ve followed your instructions, instead of going to http://www.localhost.com, it simply says Page Load Error. Is this an improvement? How can I access the web server on my own computer ?(I have installed XAMPP and Joomla and would like to get started already!)
    TIA!

    Reply
  3. rolfje says:
    2009-06-24 at 22:09

    “Page Load Error” is an improvement because now the browser is telling you that it can not connect to anything on port 80 of your local computer. This can be because:

    1) your firewall is blocking traffic on that port, or
    2) that your server program is not running.

    I have no experience with XAMPP and Joomla, but I’d check my firewall if I were you. Otherwise, try to find a good forum on Joomla, there are quite a number of Joomla users out there who are willing to help you I’m sure.

    Reply
  4. susana says:
    2012-03-30 at 13:01

    For fixing Page Load Error, you have to disable IPv6 in Firefox.
    Go to “about:config” and change “network.dns.disableIPv6″ to true.

    Now it works!

    Reply
  5. WTF says:
    2012-11-21 at 20:21

    None of this stuff works! Changing any about:config parameters get ignored. Firefox is turning into I/E!

    Reply
    1. rolfje says:
      2012-11-25 at 20:17

      If you would care to elaborate, maybe we can help you. The original post is from 2008 by the way.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

           

Recent Comments

  • rolfje on Methode Buijs uitgelegd
  • LinkedIn is at Peak Enshittifaction – Will Chatham's Blog on Linked-In not really Opt-in?
  • Hans j on 1N4148 diode as RF switch
  • Roaming Rhonda on DLNA on OSX, done right
  • Frans on How to fix a Krups XN2001 Nespresso machine

Tags

Anonimatron Apple backup design DIY DRM eclipse environment Fun gmail google hacking hamradio Hardware helicopter iphone ipod iTunes Java Keynote maven modelling motorcycle music news opinion oracle osx photo photography programming repair review security Software Steve Jobs T-Mobile technology Time Machine Ubuntu usability Utilities vacation windows Workshop

Categories

  • Apple (105)
  • Divorce (1)
  • Electronics (3)
  • Fun (57)
  • Games (7)
  • Hardware (72)
  • Microsoft (18)
  • Racing (14)
  • Software (134)
  • Uncategorized (65)
  • Workshop (20)

Archives

Copyright © 2025 www.rolfje.com.

Powered by PressBook WordPress theme