The Computer Oracle

How can I disable security checks for localhost?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping

--

Chapters
00:00 How Can I Disable Security Checks For Localhost?
00:25 Accepted Answer Score 116
01:04 Thank you

--

Full question
https://superuser.com/questions/772762/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#googlechrome

#avk47



ACCEPTED ANSWER

Score 116


There is now a flag for this at chrome://flags/#allow-insecure-localhost.

enter image description here

We've used this for a while, but have since moved to using a proper certificate that is issued to a subdomain we own. That subdomain has an A record that points to 127.0.0.1 and a AAAA that points to ::1.

However, Chrome seems to have an issue with that DNS setup and randomly throws DNS related errors. So you'd want to add the mapping manually to the hosts file as well.

That's what we do right now and it works great.