MacOS – Fix localhost cant provide a secure connection

google-chromemacos

I accidently configured a web-app to force a secure connection i.e. https, and although I have turned this off, I cannot get chrome to forget this error, so whenever I ask for the url of my local development server;

 http://localhost:3000/

Chrome instead returns

https://localhost:3000/

and gives the error

This site can’t provide a secure connection

I have tried Chrome/Clear Browsing data and this does not help. The app uses ruby on rails and the secure connection was done by setting config.force_ssl = true.

How do I fix this?

Best Answer

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

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