能访问github网页但git clone不下来

目录

  • 写在前面
  • 解决方法
  • 参考

写在前面

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

Failed to connect to github.com port 443

解决方法

打开设置–网络–代理,查看目前的端口
能访问github网页但git clone不下来_第1张图片
然后使用命令行设置对应的端口:

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

如果当前是已设置,那就会显示对应端口
能访问github网页但git clone不下来_第2张图片

参考

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

你可能感兴趣的:(code,windows,tools,git,github)