一、cmd窗口中输入 nslookup google.cn 查看可用的ip地址,如:
2 文件管理器进入 C:\Windows\System32\drivers\etc目录编辑hosts文件,在其中加入
142.250.200.35 translate.googleapis.com
ip用给出的ip,如果翻译不能用了,再nslookup google.cn查看一下ip,变了就改hosts,再用
ipconfig /flushdns
刷新 DNS 解析缓存就可以了。
2 文件管理器进入 C:\Windows\System32\drivers\etc目录编辑hosts文件,在其中加入
142.250.200.35 translate.googleapis.com
ip用给出的ip,如果翻译不能用了,再nslookup google.cn查看一下ip,变了就改hosts,再用
ipconfig /flushdns
刷新 DNS 解析缓存就可以了。