Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent redirects from http to https on localhost in chrome and firefox?

Why can't I access any of my local development sites anymore? Firefox and Chrome both redirects to HTTPS (localhost/site becomes https://localhost/site and throws an error) ...

I'm not going to set up SSL on my localhost development machine ... How would I prevent ALL browsers from redirecting to HTTPS?


1 Answers

Enter below command depending on browser : chrome://net-internals/#hsts edge://net-internals/#hsts

under Delete domain security policies put "localhost" and delete.

like image 78
Yogesh Bodke Avatar answered Mar 05 '26 07:03

Yogesh Bodke



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!