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

git clone 时出现 Failed to connect to github.com port 443: Timed out

时间:2023-01-12 23:57:31

相关推荐

git clone 时出现 Failed to connect to github.com port 443: Timed out

问题如下图所示

一、问题描述

fatal: unable to access ‘/ecsoya/fabric-demo.git/’: Failed to connect to port 443: Timed out

二、解决方法

1.首先打开 网站,查询以下网址对应地IP

网站地址 :/

需要查询地网址ip

1、

2、github.global.

我的查询结果如下:

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

修改如下所示:

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

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

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

ipconfig /flushdns

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

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