Not able to see the localhost https page properly in chrome . It says :
**This site can’t provide a secure connection**
localhost sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
I tried -deleting domain localhost from - chrome://net-internals/#hsts
But not helped.
Try clearing your website data and cache from chrome. Old htaccess files can cause problems on localhost.
Instead of
localhost:8000
Write
http://localhost:8000/
Note: replace 8000 with your port number
If you're using Visual Studio
Then go to project properties => enable SSL as True and select the SSL URL with port number Showed as per the properties
Changing https
to http
worked for me.
Go to chrome://net-internals in the Chrome and switch to the Domain Security Policy tab.
In the "Delete domain security policies" section at the bottom, write "localhost" in Domain field and press the "Delete" button.
Note, this is a temporary fix.
What worked for me was using http://127.0.0.1:3000/ (its DNS entry) instead of http://localhost:3000/
In my case, my antivirus was the culprit. Somehow the site was considered unsafe and it replaced the response with the 'website blocked' page of the antivirus application. This information, however, was not sent with TLS so the browser interpreted that as an ERR_SSL_PROTOCOL_ERROR
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