Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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

Firefox can't connect to localhost (local webserver)

  • 1 reply
  • 0 have this problem
  • 2 views
  • Last reply by 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