Laurent Hinoul

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - John F. Woods

How to fix Chrome that redirects localhost to https

I was developing in angular and used url http://localhost:4200. Suddenly, Chrome gave me the following error: ERR_SSL_PROTOCOL_ERROR SSL? When looking at the url, I saw that Chrome added https… When I changed it back to http, Chrome forces https again… After some research, I found a solution on https://stackoverflow.com/questions/25277457/google-chrome-redirecting-localhost-to-https/28586593#28586593 with the following explanation: To fix this, got to this url:…