Closed
Bug 822573
Opened 12 years ago
Closed 10 years ago
DNS hosts file ignored when offline
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 698302
People
(Reporter: franck.jousseaume, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0
Build ID: 20121119183901
Steps to reproduce:
1. Put 'foobar.localhost 127.0.0.1' in my /etc/hosts file
2. make sure there are no open mozillas
3. Disconnect from network (unplug ethernet or turn off airport)
4. start a new mozilla
5. try to go to foobar.localhost (when running a local web server)
Actual results:
Site Not Found error in Mozilla. Other browsers (chromium and opera) work fine.
Expected results:
Should have seen localhost web site.
Updated•12 years ago
|
Component: Untriaged → Networking
Product: Firefox → Core
Comment 1•12 years ago
|
||
Do you have a proxy configured ?
make sure that "no proxy" is configured in preferences/advanced/network/settings
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Matthias Versen (Matti) from comment #1)
> Do you have a proxy configured ?
> make sure that "no proxy" is configured in
> preferences/advanced/network/settings
"no proxy" is already configured.
Comment 3•12 years ago
|
||
try file->WORK ONLINE
Reporter | ||
Comment 4•12 years ago
|
||
Not the same error, but not better :
online (but without network connection): It doesn't work because firefox can't find foobar.localhost
offline : It doesn't work because firefox can't access to the web.
Side effect of bug 150025 maybe?
Reporter | ||
Comment 6•12 years ago
|
||
It spoke only about localhost but my problem is with every domains in hosts file. So, this bug is more generic.
But, indeed, the bug 150025 can be explain if the hosts file is ignored as I said in this one.
I believe I'm also affected by this. In my case it causes problems with domains in my hosts file that point to localhost but have domains that look real.
bug 150025 presumably explains why I can load localhost/site1 but not localtest.mydomain.net/site1 when they point to the same thing, and localtest.mydomain.net gets
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•