Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

Can't use hosts file with Firefox

  • 7 件の返信
  • 0 人がこの問題に困っています
  • 10 回表示
  • 最後の返信者: jonzn4SUSE

more options

I recently added an entry to my hosts file but Firefox seems to ignore it. I'm using v. 128.5.1esr, fully updated. I've tried a lot of the advice online and none of it seems to work. Here's what I've tried:

disabled "Enable DNS over HTTPS Cleared the DNS Cache changed "Use system proxy settings" to "No proxy". tried troubleshooting mode set network.trr.exclude-etc-hosts to true changed browser.fixup.dns_first_for_single_words to true changed network.dns.offline-local to false restarted FF, rebooted computer

It doesn't work in Chrome either, which makes me wonder if it's a Windows 10 issue. Any suggestions?

I recently added an entry to my hosts file but Firefox seems to ignore it. I'm using v. 128.5.1esr, fully updated. I've tried a lot of the advice online and none of it seems to work. Here's what I've tried: disabled "Enable DNS over HTTPS Cleared the DNS Cache changed "Use system proxy settings" to "No proxy". tried troubleshooting mode set network.trr.exclude-etc-hosts to true changed browser.fixup.dns_first_for_single_words to true changed network.dns.offline-local to false restarted FF, rebooted computer It doesn't work in Chrome either, which makes me wonder if it's a Windows 10 issue. Any suggestions?

すべての返信 (7)

more options

That isn't part of Firefox so you need to check where you got the hosts file and see what suppose to happen if you change it.

役に立ちましたか?

more options

I'm doing an example from a CompTIA prep book. The only line in the hosts file is this:

34.200.194.131 timmy

It's supposed to open 34.200.194.131 when I type "timmy" into the address bar

役に立ちましたか?

more options

It works for me. see screenshot

役に立ちましたか?

more options

この投稿は jonzn4SUSE により に変更されました

役に立ちましたか?

more options

Your facebook example worked, and "127.0.0.1 test" worked, but not the one from the book.

この投稿は henbor29 により に変更されました

役に立ちましたか?

more options

この投稿は jonzn4SUSE により に変更されました

役に立ちましたか?

more options

This is not a browser issue so I'm done. Jones out... I recommend you ask the author of the book about their issue. Just because it's in a book doesn't mean it's always right(wink wink). Do your own research to verify how to use the host file.

この投稿は jonzn4SUSE により に変更されました

役に立ちましたか?

質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。