700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > Failed to connect to github.com port 443: Timed out

Failed to connect to github.com port 443: Timed out

时间:2019-04-03 20:16:31

相关推荐

Failed to connect to github.com port 443: Timed out

Git clone的时候发现以下报错:Failed to connect to port 443: Timed out

第一步:打开/,查询如下两个域名,并分别记录下其对应的ip:

1、

2、github.global.

去查找各自对应的IP地址

2.复制查询后的ip,然后在hosts文件中做出相应地修改(hosts文件路径:C:\Windows\System32\drivers\etc)

140.82.114.3

151.101.185.194 github.global.

3. 修改后保存退出,在cmd命令行执行刷新命令

注意:如果无法保存hosts文件,参考以下内容:

/qq_42102911/article/details/121431276?spm=1001..3001.5501

ipconfig /flushdns

4.完成上述过程,就成功实现了git clone

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。