Microsoft Edge redirects http://localhost to https://localhost

Ankit Giri

I am encountering an issue where I am not able to open my localhost web apps because Microsoft Edge is redirecting the URL http://localhost:3000 to https://localhost:3000. Due to this I get the error

The connection for this site is not secure. localhost sent an invalid response.

Why is this happening and what is the fix to it?

Ankit Giri

I got a solution from this article

Following are the steps for Microsoft edge -

  • Go to Edge browser and type following statement in address bar.

    edge://net-internals/#hsts

  • Scroll all the way down to the section below and enter “localhost”, then click “Delete”. enter image description here

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Firefox redirects localhost to HTTPS

Redirect HTTP to HTTPS on localhost

http://localhost not working but https://localhost working?

How to stop localhost http://localhost from switching to https://localhost

ejabberd - http://localhost:5280 redirects to www.localhost.com:5280

Redirect https request on http localhost

Microsoft Edge does not allow localhost loopback for websockets

Rails redirects to https on localhost, don't know why

localhost redirects to a different page

URL http://localhost:8000/admin/ redirects to wrong page

Window.opener in Microsoft Edge undefined when running at localhost

Microsoft Edge allow-insecure-localhost flag removed in Version 88.0.705.50

localhost works in Edge but not in Chrome

WAMP localhost redirects to my IP

.google domain name redirects to localhost

Connecting to localhost redirects through proxy

What's a simple way to serve http://localhost as https://someOtherDomain?

External link in react is being appended with localhost if no http or https present

Charles Proxy - Map remote to localhost from https to http

NGINX on AWS EC2 to forward HTTPS to HTTP://localhost

How to send POST request from localhost (http) to django (https)?

Redirect to HTTPS except localhost

Spring Boot HTTPS on localhost

angular app works on http://localhost:4200, but I want https://localhost:44325

GET http://localhost:8081/login net::ERR_TOO_MANY_REDIRECTS 302 Angular and Java

Keycloak redirects localhost and not redirect remote url

Oauth redirects to localhost when hosted on server

WAMP Server redirects to localhost from ip address

ERR_TOO_MANY_REDIRECTS for localhost