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

泪湿孤枕 提交于 2020-12-09 05:03:34

问题


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?


回答1:


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”.



来源:https://stackoverflow.com/questions/63825407/microsoft-edge-redirects-http-localhost-to-https-localhost

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!