We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

Connect to localhost

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 firefox214

more options

Firefox (76.0.1; Windows 10) will not connect to http://localhost/. How can I connect to localhost using Firefox??

Firefox (76.0.1; Windows 10) will not connect to http://localhost/. How can I connect to localhost using Firefox??
已附加屏幕截图

所有回复 (2)

more options

Hi Firefox214, glad to see you in Mozilla Support Forum.

There are two solutions for your problem:-

First is:-

In the developer toolbar you can see if there is a cookie with localhost stored as well with : cookie list.

Second is:-

Firefox supports IPv6 by default, which may cause connection problems on certain systems. To disable IPv6 in Firefox:

  1. Type about:config in the address bar and press Enter.
  2. A warning page may appear. Click Accept the Risk and Continue to the about:config page.
  3. In the Search field, enter network.dns.disableIPv6.
  4. In the list of preferences, click the Toggle button next to network.dns.disableIPv6 to set its value to true.

Firefox can't load websites but other browsers can

If it doesn't solved your problem let us know in reply section. Thanks for raising your question in Mozilla Support Forum.

more options

There is no cookie for localhost shown in the developer toolbar. Disabling IPv6 did not solve the problem.

Can I manually create the required cookie? If yes, how? Can I make this cookie "permanent"?

Dumb question: Will "Cookie Auto Delete" addon remove the cookie I create?

To reproduce the problem:

Enter "http://localhost/" (no quotes) in search bar & then "Enter Key" which creates the error message. Open Web Developer toolbar shows no localhost cookie. Click the "+" in the Developer toolbar to manually add the cookie & nothing happens (probably operator error).

Thanks John