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?
Click on the dropdown infront of Automatic HTTPS and select disabled from the list. Click on restart button at bottom to restart the browser and see if this fixes your issue.
You'll see that Edge has selected the Switch to HTTPS only on websites likely to support HTTPS option by default. This means that Edge will only upgrade your connection to HTTPS automatically if the website supports the protocol.
In Edge, go to Settings and more at the top of your browser. Select Settings > Cookies and site permissions. Under All permissions, select Pop-ups and redirects. Turn on the Block (recommended) toggle.
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”.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With