写在前面

系统:win10
问题:
通过自己的方式已经能够访问Google和github(这得自己解决),但是git clone的时候还是不行

Failed to connect to github.com port 443

解决方法

打开设置–网络–代理,查看目前的端口
在这里插入图片描述
然后使用命令行设置对应的端口:

git config --global http.proxy 127.0.0.1:7890

然后再git clone比如

git clone https://github.com/isl-org/Open3D.git

git 完之后:

git config --global --unset http.proxy

平常可以使用一下list查看是否设置了端口:

git config --list

如果当前是已设置,那就会显示对应端口
在这里插入图片描述

参考

Git - Failed to connect to github.com port 443: Timed out https://blog.csdn.net/hzw2017/article/details/115409516

问题:Failed to connhttps://www.jianshu.com/p/471aeba64724

Failed to connect to github.com port 443: Timed out(Windows) https://blog.csdn.net/u011476390/article/details/93411139

https://ipaddress.com/website/github.com

--------------------------------------------------------------------------------------------诺有缸的高飞鸟202112

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐