【github报错解决】Failed to connect to github.com port 443: Couldn't connect to server

 今天使用github push时候报错的

解决办法:

1、查看本机代理

路径:设置->网络和Internet->代理->地址:端口

 

2、用git cmd修改配置,port就用刚刚代理端口值

git config --global http.proxy http://127.0.0.1:[port]
git config --global https.proxy http://127.0.0.1:[port]

3、修改好之后,就可以push了

 

posted @ 2024-07-02 01:42  jpx  阅读(17)  评论(0编辑  收藏  举报