How to stop auto redirect http to https in Chrome

--

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:

  1. At your chrome: chrome://net-internals/#hsts. Enter localhost: 8080 under Delete domain security policies and press the Delete button.
  2. Next: chrome://settings/clearBrowserData, clear up cached images and files.
  3. 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.

--

--