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!

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
  • 1 view
  • 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