搜尋 Mozilla 技術支援網站

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

了解更多

Why is Firefox 70.0 is ignoring my HOSTS file while other browsers work properly?

  • 2 回覆
  • 3 有這個問題
  • 10 次檢視
  • 最近回覆由 nlcapitanio

more options

I'm using an extensive HOSTS file to block content, etc., from websites, which is a pretty common use of HOSTS. However, Firefox 70.0 is ignoring the HOSTS file and loads sites that are explicitly named as 0.0.0.0 addresses. Other browsers, such as Chromium, work as expected and return a "not found" message. Is this a bug in Firefox or is there some setting, such as under about:config, that needs to be set properly? Thanks for any help/suggestions.

I'm using an extensive HOSTS file to block content, etc., from websites, which is a pretty common use of HOSTS. However, Firefox 70.0 is ignoring the HOSTS file and loads sites that are explicitly named as 0.0.0.0 addresses. Other browsers, such as Chromium, work as expected and return a "not found" message. Is this a bug in Firefox or is there some setting, such as under about:config, that needs to be set properly? Thanks for any help/suggestions.

被選擇的解決方法

Okay, problem solved!

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

所有回覆 (2)

more options

選擇的解決方法

Okay, problem solved!

more options

Am I missing the solution? I have recently started having this problem with Firefox 74.0 (64-bit) where I can't access local web sites whose entries are listed in my hosts file. I *can* reach them using Chrome but I don't want to have to switch my default browser if there's a solution available.