LoginSignup
1
1

More than 3 years have passed since last update.

hostsの設定が効かない時に試したこと

Posted at

PCのDNSキャッシュをクリア

sudo dscacheutil -flushcache

chromeのDNSキャッシュをクリア

chrome://net-internals/#dns へアクセス
Clear host cacheをポチってchrome再起動

hostsファイルのパーミッションを変更

結局これで解決した

chmod 644 /private/etc/hosts

なんでパーミッション変わってんの...

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1