cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Localhost redirecting to https

webit
Making moves

Hi, 

I use the local server of my Mac to developp websites but now I can't access the http://localhost/mysite/ or 127.0.0.1 it is redirect to https. I can't work anymore. Didn't find any solution anywhere spent hours and hours.
Was working ok before the last update. 

3 REPLIES 3

siffemcon
Familiar face

"Firefox now upgrades page loads to HTTPS by default and gracefully falls back to HTTP if the secure connection fails. This behavior is known as HTTPS-First." - https://www.mozilla.org/en-US/firefox/136.0/releasenotes/

https://support.mozilla.org/en-US/kb/https-only-prefs#w_add-exceptions-for-http-websites-when-youre-...

webit
Making moves

Thank's for the information. I already explored that with no success. I've check with other browsers and I'm facing the same http redirecting to https.

mbindewald
Making moves

I'm experiencing a similar issue, I'm trying to access my router (http://10.0.0.1) as well as locally hosted services hosted on another machine on my network. It always switches to https, breaking the connection. I've tried adding exceptions in HTTPS-Only Mode as well as turning off HTTPS-Only Mode completely. No matter what, Firefox still tries to redirect to https.

I can use other browsers to access these http sites just fine. Why is Firefox broken?

 

This is using Firefox 138.0.1 on macOS 15.4.1

Type a product name