Modifying the Hosts file on a Mac computer can effectively control network access and solve DNS resolution problems。The following is a detailed modification tutorial:
1. 找到Hosts文件
•打开Finder,Click the "Go" menu at the top,Select "Go to Folder"。
•Type /etc and press enter,Find and double-click to open the folder。
2. 备份Hosts文件(可选)
•在弹出的窗口中找到 hosts 文件,Right click and make a copy as a backup,In case the error can be restored after correcting it。
3. 编辑Hosts文件
•将 hosts 文件拖到文本编辑器(如TextEdit、Sublime Text, etc.)。...

