This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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.

Learn More

Connect to localhost

  • 2 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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??
Attached screenshots

All Replies (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