Chrome上的localhost被阻止,并显示“隐私错误"; [英] localhost blocked on Chrome with "Privacy Error"
问题描述
Google Chrome浏览器阻止了localhost
.
Google Chrome is blocking localhost
.
我正在将XAMPP
与Apache localhost
,端口80
和443
配合使用. Google Chrome是最新的.
I'm using XAMPP
with Apache localhost
, ports 80
and 443
. Google Chrome is up to date.
我遇到以下错误:
您的连接不是私有的
Your connection is not private
攻击者可能正在尝试从localhost窃取您的信息(例如,密码,消息或信用卡). 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上的localhost被阻止,并显示“隐私错误";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!