為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox cannot connect to a local servers subdomain if no network connection available.

  • 2 回覆
  • 4 有這個問題
  • 36 次檢視
  • 最近回覆由 Songy

more options

Hello there,

I have a laptop which is configured as a local server using Apache. On it I use 'localhost' as the domain and have several subdomains. Now, if I have no network connection (to any other device) available on this laptop, then with Firefox I am only able to access the domain 'localhost' but none of the subdomains and get a 'Server not found' error on these. If I do have a network connection, I can access the domain and subdomains without any problem.

What could it be and what can I do to get it to work without a network connection? I also tried it with Opera and Chrome and they can access the subdomains either way. Sadly however I prefer Firefox, so yeah.. here I am.

Kind regards Song

Hello there, I have a laptop which is configured as a local server using Apache. On it I use 'localhost' as the domain and have several subdomains. Now, if I have no network connection (to any other device) available on this laptop, then with Firefox I am only able to access the domain 'localhost' but none of the subdomains and get a 'Server not found' error on these. If I do have a network connection, I can access the domain and subdomains without any problem. What could it be and what can I do to get it to work without a network connection? I also tried it with Opera and Chrome and they can access the subdomains either way. Sadly however I prefer Firefox, so yeah.. here I am. Kind regards Song

被選擇的解決方法

Did you troubleshoot your network connection on the Options menu? Firefox can't load websites but other browsers can

If the internet did not set up correctly you may have a firewall set up? http://www.aboutdebian.com/network.htm is what I used as a reference.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

Did you troubleshoot your network connection on the Options menu? Firefox can't load websites but other browsers can

If the internet did not set up correctly you may have a firewall set up? http://www.aboutdebian.com/network.htm is what I used as a reference.

more options

Thanks for the quick reply guigs2,

setting 'network.dns.disableIPv6' to false (default is true) did the trick.

That's one thing I didn't try out the when I read through Firefox and other browsers can't load websites the first time around... Oh well.

Cheers!