Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox can't access url with name but can with ip address

  • 6 个回答
  • 1 人有此问题
  • 159 次查看
  • 最后回复者为 Mike Kaply

more options

version 78.5.0esr I have a VMWare mint linux running on a PC. It has its own ip address. If I log into the router, I can see it. Suddenly, from today, I am unable to access that VM using vm-name:port/ but I can access it using the ip address 192.168.1.6:port within firefox. Using edge, I can access the server using both name and ip address.

This has always worked and now it is not. I have made no changes to the prefs in firefox.

Any ideas?

version 78.5.0esr I have a VMWare mint linux running on a PC. It has its own ip address. If I log into the router, I can see it. Suddenly, from today, I am unable to access that VM using vm-name:port/ but I can access it using the ip address 192.168.1.6:port within firefox. Using edge, I can access the server using both name and ip address. This has always worked and now it is not. I have made no changes to the prefs in firefox. Any ideas?

被采纳的解决方案

We supposedly fixed this with an update. If you're still having problems, I would suggest opening a bug at bugzilla.mozilla.org so we can diagnose.

The bug was

https://bugzilla.mozilla.org/show_bug.cgi?id=1677806

定位到答案原位置 👍 0

所有回复 (6)

more options

You can do a DSN Lookup via the tool on the about:networking page to see if at least that works.

See also these prefs on the about:config page.

  • browser.fixup.dns_first_for_single_words
  • browser.urlbar.dnsResolveSingleWordsAfterSearch [0:never resolve; 1:use heuristics (def); 2:always resolve]

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".

more options

Thank you for the reply. The problem is that this worked three days ago. I have not changed the settings. I did not see firefox update itself during that period. So would like to know why it would stop working for machine names on the same network when they can be pinged by machine name, accessed by Edge by machine name and accessed by ip address by firefox. The last two actions suggest it is not a server problem. It also suggests it is not a PC problem. It does seem to be related to firefox. I also have the developer edition of firefox on the PC. That works. Except that was a pretty old version (57) so I upgraded to 84 and it stopped working so I am guessing this is now a built in feature of firefox. Probably best answer is to use Edge for testing.

由john489于修改

more options

Actually, this is something different. See:

https://bugzilla.mozilla.org/show_bug.cgi?id=1677806

We're in the process of fixing this remotely. In the mean time, you can flip the pref:

network.dns.dns_query_single_label

to false.

more options

Hi Mike, do I need to restart firefox after the change? Reboot? Tried the change and still same problem. Use http://mint20-loopback4:8080 and server not found. Use 192.168.1.6 and found. With edge both url's work. Ping works from command line of pc.

more options

Just to add downgrading from firefox 83 to firefox 80 does fix the problem. So something was added after 80 to stop being able to use my internal network by name.

more options

选择的解决方案

We supposedly fixed this with an update. If you're still having problems, I would suggest opening a bug at bugzilla.mozilla.org so we can diagnose.

The bug was

https://bugzilla.mozilla.org/show_bug.cgi?id=1677806