How do you prevent browswer from redirecting localhost to https://localhost?
Browser randomly redirects localhost to https://localhost. After a couple restarts, and extensive research, it stops doing it. Any ideas on how to prevent it from happening in the first place?
- User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
Hi dcarter.android, are you saying that Firefox starts changing
Does your localhost have an SSL certificate?
One possible reason for upgraded connections is if a website on https://localhost/ previously instructed Firefox to always use a secure connection (HTTP Strict Transport Security or HSTS).
However, that wouldn't go away by itself, it is stored persistently in your profile folder.
Another possible reason is an extension like HTTPS Everywhere, but I don't know whether it pays attention to localhost.
Otherwise, maybe some code in the site??