Hacker News new | ask | show | jobs
by QuasiAlon 3161 days ago
Thank you very much for your reply. I magic barred it on my mac and couldn't find it. A little more help? Know the direct path? Is it global or per browser? Thanks again.
2 comments

Those are the direct paths and it's system global.

BTW. 0.0.0.0 is not "your own IP", that would be 127.0.0.1. 0.0.0.0 is non-routable, so always resulting in error.

Strange. Neither sportlight or alfred can find it. (and alfred does search though system files)
The file name is just “hosts” and it’s located in a folder called “etc” - maybe that helps? I think there is also a macOS setting that hides certain system files. You may have to unhide it first.
Open terminal, type:

  cat /etc/hosts
if it outputs something that has to do with network, you know the file is there :). It might be that default user-facing tools on Mac don't look for system files?