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.

ابحث في الدعم

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

Firefox can't connect to localhost (local webserver)

  • 1 (رد واحد)
  • 0 have this problem
  • 1 view
  • آخر ردّ كتبه poljos

more options

Finally decided to give FireFox a try, but I encountered big problem: when trying to access local web server (I am software developer) running simply on port 80, firefox just pretend it's connecting, timing out after a while. Every other browser has no problem connecting, even scripts from console can connect without any problem. Tried every possible address: http://localhost/ http://127.0.0.1/ http://[::1]/. Nothing works, same result every time.

Also tried changing those settings in config: network.dns.disableIPv6, network.dns.disablePrefetch but no change.

Using Windows 11 22H2, Firefox 115.0.2, webserver is running in WSL2 and can be accessed by any other browser or application.

Finally decided to give FireFox a try, but I encountered big problem: when trying to access local web server (I am software developer) running simply on port 80, firefox just pretend it's connecting, timing out after a while. Every other browser has no problem connecting, even scripts from console can connect without any problem. Tried every possible address: http://localhost/ http://127.0.0.1/ http://[::1]/. Nothing works, same result every time. Also tried changing those settings in config: network.dns.disableIPv6, network.dns.disablePrefetch but no change. Using Windows 11 22H2, Firefox 115.0.2, webserver is running in WSL2 and can be accessed by any other browser or application.

All Replies (1)

more options