本地主机因“隐私错误"在 Chrome 上被阻止 [英] localhost blocked on Chrome with "Privacy Error"
问题描述
Google Chrome 正在阻止 localhost
.
Google Chrome is blocking localhost
.
我将 XAMPP
与 Apache localhost
、端口 80
和 443
一起使用.谷歌浏览器是最新的.
I'm using XAMPP
with Apache localhost
, ports 80
and 443
. Google Chrome is up to date.
我收到以下错误:
您的连接不是私密的
攻击者可能试图从本地主机窃取您的信息(例如,密码、消息或信用卡).NET::ERR_CERT_COMMON_NAME_INVALID
Attackers might be trying to steal your information from localhost (for example, passwords, messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID
推荐答案
试试这个:
在 Chrome 中,在地址栏中输入 chrome://flags/#allow-insecure-localhost.
In Chrome, put in chrome://flags/#allow-insecure-localhost in the address bar.
启用允许从本地主机加载的资源的无效证书"选项.
Enable the option that says "Allow invalid certificates for resources loaded from localhost".
重新启动 Chrome,它应该允许该网站.
Restart Chrome, and it should allow the site.
这篇关于本地主机因“隐私错误"在 Chrome 上被阻止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!