How to stop auto redirect http to https in Chrome
May 20, 2021
So you just got an assignment to test an application, running on your test server, http://localhost:8080. You fired up your favourite Chrome browser, type in the url. It just ‘cleverly’ auto redirect the url to https://localhost:8080.
Fuck!
Here is the solution:
- At your chrome:
chrome://net-internals/#hsts
. Enter localhost: 8080 under Delete domain security policies and press the Delete button. - Next: chrome://settings/clearBrowserData, clear up cached images and files.
- To clear single site /domain: Use the Developer Tools by pressing F12 on your https://localhost:8080 . Once the chrome dev tools are open, just right click on the refresh button and a menu will drop down. This menu gives you the option of doing a hard refresh.