Ubuntu QA:
BlogBrainstorm
Log in
Ubuntu QA
The Ubuntu community has contributed 11979 ideas, 55839 comments, 1152972 votes

Idea #10813: localhost should always be accessible



up
12
down
Written by _sebastian_ the 7 Jul 08 at 00:36. Category: Internet & Networking.
Related to: Firefox. Status: New
Description
currently I have not network at home, no LAN or WLAN. This causes my Firefox to start in offline mode.

Which is a good thing, I think it makes sense. The problem is that I have a local webserver running (on this machine) and I can't connect to it via http://localhost/ or http://127.0.0.1. Firefox then complains about the 'offline mode'.

I think local addresses like the ones above should always be allowed as they are not dependent on the actual LAN/WLAN connection.

Attachments
No attachments.


Duplicates


Comments
dino wrote on the 7 Jul 08 at 06:07
+1 Its looks more like a bug too me but i run into this myself ... often thought to fill a bug report against it :-/

bgfeldm wrote on the 7 Jul 08 at 12:34
This is not a bug!

Even though Firefox is routing to you local system. It is still routing to a valid IP address which the OS goes out and fetches.

OFFLINE mode = Internet Cache Only.


Firefox asks the system routed to localhost or 127.0.0.1 (which ever one the user types.) if the user types localhost the OS looks first in the host file. Which it finds localhost routes to 127.0.0.1 .. Problem is you can change localhost to route to whatever address you wish (like yahoo: 68.180.206.184).


_sebastian_ wrote on the 8 Jul 08 at 03:19
so when localhost routes to 127.0.0.1 (or the given IP) the possibility of excluding 127.0.0.1 from the offline mode would be good


Post your comment