Apple - Fix localhost cant provide a secure connection

I always find adding a fake query string after the URL refreshes the cache for me.

e.g. http://localhost:3000/?fake=true


As this is only your development site on localhost, and not a real domain name, you can solve the problem in Chrome by opening the following URL:

chrome://net-internals/#hsts

You must open this URL in Chrome.

From there you get the settings for HSTS (HTTP Strict Transport Security). Then under "Delete domain" put in localhost and delete it from the list.

If you have used other local names than localhost to refer to your development setup, delete those as well.