Mac 修改hosts

sudo vi /etc/hosts

 

在mac上配置了hosts,使用

cat /etc/hosts

查看,已经写进去了,然后重启电脑、使用

ping xxx.com

还是找不到配置的IP地址

posted @ 2019-08-13 16:51  do+better  阅读(368)  评论(0编辑  收藏  举报