google搜索破解
hosts所在文件夹:
- Windows 系统hosts位于 C:\Windows\System32\drivers\etc\hosts
- Android(安卓)系统hosts位于 /system/etc/hosts
- Mac(苹果电脑)系统hosts跟Linux一样位于 /etc/hosts
- iPhone(iOS)系统hosts跟Linux Mac一样位于 /etc/hosts
- Linux系统hosts位于 /etc/hosts
修改hosts后生效的方法:
- Windows
开始 -> 运行 -> 输入cmd -> 在CMD窗口输入 -
1ipconfig /flushdns
- Linux
终端输入1sudo rcnscd restart对于systemd发行版,请使用命令
1sudo systemctl restart NetworkManager如果不懂请都尝试下
- Mac OS X终端输入
-
1sudo killall -HUP mDNSResponder
浙公网安备 33010602011771号