使用git工具报错:Failed_to_connect_to_github.com_port_443

使用git工具报错:Failed to connect to github.com port 443

网上正常的方法应该可以解决,如果没有解决可能是电脑开了clash科学上网工具

设置

git config --global http.proxy http://127.0.0.1:7890 
git config --global https.proxy http://127.0.0.1:7890

即可解决

而如果科学上网的工具用的是V2rayN,那么将端口改成10809 即可

注意在配置端口时,可能自己电脑上的科学上网端口和这里的端口可能会有出入

所以建议在电脑上查询后进行替换