Ubuntu – Chrome redirecting http -> https

google-chromeredirectionUbuntu

I have two instances of chrome running (two different user profiles), in the same machine. In one, typing http://localhost:8000 redirects to https://localhost:8000. In the other instance, the redirection is not taking place. This happens at the browser level (the server is the same for both frontend instances)

I would like to remove the redirection. How can I clean this redirection in Chrome?

I am running Chrome:

Version 65.0.3325.181 (Official Build) (64-bit)

In:

ยป hostnamectl 
...
  Operating System: Ubuntu 16.04.4 LTS
            Kernel: Linux 4.4.0-119-generic
      Architecture: x86-64

Best Answer

  • Go to chrome://net-internals/#hsts.
  • scroll down to the Delete domain security policies area.
  • Type in the domain for which you want to prevent redirection. Click on Delete.

Then, go to history, and clear your cache in Clear Browsing data.. and make sure that you remove all cached files and cookies.

Now it should stop redirection from http to https only for that specific domain.

Related Question