欢迎光临
我们一直在努力

阿里云VPS访问 github.com 超慢的解决方法

可以使用 github 登录,换了阿里云机房后发现用github 登录经常超时。

ping 超时:

$ ping github.com
PING github.com (52.74.223.119): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5

解决方式1:找可用ip 直接修改hosts

使用 nslookup github.com 找出来的ping 不上

# nslookup github.com
Server:		100.100.2.138
Address:	100.100.2.138#53

Non-authoritative answer:
Name:	github.com
Address: 52.74.223.119
Name:	github.com
Address: 13.250.177.223
Name:	github.com
Address: 13.229.188.59

到第三方网站去找可用ip,下面几个可以试试

https://ipinfo.info/html/ip_checker.php 91 https://www.site24x7.com/find-ip-address-of-web-site.html 38 http://tool.chinaz.com/dns 34 https://www.17ce.com 27

赞(0) 打赏
未经允许不得转载:罗刹 » 阿里云VPS访问 github.com 超慢的解决方法
分享到: 更多 (0)

评论 抢沙发

评论前必须登录!

 

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏