connecting dl.google.com dl-ssl.google.com超时

当update时连接dl.google.com超时,原因是当前ip无法ping到google(墙)。 
需要更改ip:

  • 网页上搜站长工具,在里面查找能ping到dl.google.com的IP。
  • 将连接dl.google.com时的ip修改为搜索到的ip: 
  • Linux用户打开/etc/hosts文件。
 sudo gedit /etc/hosts 
  • 打开文件后添加以下内容:
#Download 下载
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
 
 #Groups
203.208.46.146 groups.google.com
 
 #Google URL Shortener
203.208.46.146 goo.gl
 
 #Google App Engine
203.208.46.146 appengine.google.com
 
 #Android Developer
74.125.113.121 developer.android.com
发布了129 篇原创文章 · 获赞 1105 · 访问量 169万+

猜你喜欢

转载自blog.csdn.net/qq_36556893/article/details/102680276