Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I keep a mirror of my Web site on my laptop, and use the laptop Web server at localhost to check changes. That works fine if I am on line, but if my laptop is off line, Firefox refuses to send an HTTP request to localhost.

Is there a way to force Firefox to talk to localhost when off line?

share|improve this question

2 Answers 2

Click on File... and check to see if "Work Offline" is checked. If it is, uncheck it and it will properly interact with the localhost interface.

share|improve this answer
This will most definitely be the issue! –  Roland Sep 8 '09 at 8:10
This does not really answer the question. This tells how to turn off "offline" mode, but "offline" really makes no sense when dealing with localhost. localhost is always online. Firefox should be able to contact localhost even when it's considered offline for other sites. Turning offline off will enable localhost but disable other offline apps. –  Sam Jul 30 '10 at 1:42

Do you have proxy server configured? If localhost or are not in the exception list the browser will send these requests to the proxy too. If your system is offline, FF cannot reach the proxy server and cannot reach localhost through the proxy server.

share|improve this answer
I doubt a proxy would be able to somehow redirect to localhost when online. So, if the proxy is configured wrong, then localhost should also not work when online -- but it seems it does? –  Arjan Sep 14 '09 at 15:16
You are right. The localhost for the proxy is the proxy itself. :-) Okay, my answer is wrong completely. :-) –  Saabi Sep 15 '09 at 4:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.