delete automatic redirect to https in Chrome: localhost


When calling a test page without HTTPS on localhost I recently had the following phenomenon: http://localhost was redirected to https://localhost: The test page could no longer be displayed.

The cause is a page previously called with HSTS: The browser remembers the redirect and executes it consistently, even if the current test page does not use HSTS at all.

HSTS, what is it?

HSTS stands for HTTP Strict Transport Security and is a header that is delivered by the web server to tell the browser that from now on the page can only be called via HTTPS. Usually a relatively long time span of several months is given as expiration date. Within the time span, the browser is supposed to redirect HTTP to HTTPS, even if the header is no longer delivered.

(look into the Chrome developer tools key F12)

Delete domain security policies

The following hidden URL can be used to delete the HSTS cache:


positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Publication: 2022-08-12 from Bernhard | Übersetzung Deutsch |🔔 | Comments:0

LAN / WiFi Speed Test: Test network speed with iPerf | Network | Wi-Fi in the area: view and find the best Wi-Fi channel

Top articles in this section

Ping with Port | cmd vs. PowerShell: Test-Netconnection

As is well known, the tool ping can be used to test the access to a certain network device and its response time. Not all devices will respond to a ping, but they may respond to a particular Tcp-Port if a particular network service is provided through it. Windows PowerShell allows you to test a specific port using Windows board tools. The psping tool can also measure the response time to a specific port.

Uninterrupted WiFi: Roaming (Fast Transition)

The marketing term "mesh WiFi" often refers to the desire for a WiFi that simply works everywhere in the house. But what actually is a mesh WiFi? And what is really needed for WiFi to work everywhere and even when switching from one receiving station to another? My setup consists of two access points, which as a unit provide a single WiFi SSID. As access points I use devices from different manufacturers and OpenWrt as firmware. The access points provide uninterrupted reception when I move from o...

show active network connections and processes | Windows

For a quick overview of which programs or services have an active network connection, they can be listed via simple commands or monitored and analyzed via specific tools. 

Questions / Comments

By continuing to browse the site, you agree to our use of cookies. More Details