Google Chrome is blocking localhost
.
I'm using XAMPP
with Apache localhost
, ports 80
and 443
. Google Chrome is up to date.
I'm getting the following error:
Your connection is not private
Attackers might be trying to steal your information from localhost (for example, passwords, messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID
Try this:
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".
Restart Chrome, and it should allow the site.
From Chrome version 63, it will redirect all .dev extension to domain https So try another extension to another, ex .test, .local... You can refer here: https://docs.serverpress.com/article/234-your-connection-is-not-private-google-chrome
I had the same problem.
Kyle Erickson's answer didn't work for me.
I changed the host name and it was ok. You can also use the ip directly.
It worked for me just by changing " .dev" to ".local" I'm using windows 10
your connection is not private for virtual host in XAMPP
I've faced the same problem, Now It has been solved it.
don't use '.dev' for your local domains - the new chrome (version 63) redirects all .dev -Domains to 'https://name.dev'
Try to rename your local domains to something like '.test' and 'phpmyadmin.test' or whatever
Reset your browser.Remove cache and cookies from your browser.Try now your website. It should work. Still doesn't work let us know in comments below.
来源:https://stackoverflow.com/questions/35531347/localhost-blocked-on-chrome-with-privacy-error