首页 > 数码
1. 打开 Mac 系统中的 Finder 应用,接下来按下组合按键 Shift + Command + G,并输入 Hosts 文件的所在路径:/etc/hosts,随后即可在 Finder 窗口中看到 Hosts 文件了。
2. 接下来,我们可以将 Hosts 文件复制到桌面等其他位置再进行修改,编辑之后保存,再将其拖拽回原来的文件夹,替换原文件即可。
以下为修改后可正常使用的 Hosts 文件内容:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
23.214.233.166 s.mzstatic.com
2018-04-2779246
2018-04-1087862
2018-04-0887032
2018-03-2798162
2018-03-04133622
2018-02-28132658
2018-02-19180738
2018-02-11120882
2018-01-2382353