144 字
1 分钟
Git报错: fatal :unable to access ‘https://github.com….git’ failure to connect to github.com port 443 ...
Git报错: fatal :unable to access ‘https://github.com….git’ failure to connect to github.com port 443 …
今天在使用Git克隆一个项目的时候,出现了这样的问题

这个问题是代理设置不正确导致的,这时候需要重新设置代理
设置系统代理
通过设置系统代理就可以解决这个问题。端口和代理软件有关系,我的是7897,所以我这样设置:
git config --global http.proxy http://127.0.0.1:7897
这时候检查一下是否设置成功
git config --global --list配置中出现 http.proxy=http://127.0.0.1:7897 则代表设置成功

Git报错: fatal :unable to access ‘https://github.com….git’ failure to connect to github.com port 443 ...
https://blog.ekubo.me/posts/3/ 部分信息可能已经过时