当前位置:   article > 正文

解决 Failed to connect to github.com port 443:connection timed out_443... failed: connection timed out

443... failed: connection timed out

 困扰了两天,在Pycharm 上提交代码到github上一直报错:Failed to connect to github.com port 443 : Timed out

解决办法:取消代理并配置HTTP代理

  1. #取消代理
  2. git config --global --unset http.proxy
  3. git config --global --unset https.proxy
  4. #设置代理
  5. git config --global http.proxy http://127.0.0.1:10792
  6. git config --global https.proxy http://127.0.0.1:10792
  7. #查看代理
  8. git config --global --get http.proxy
  9. git config --global --get https.proxy

 设置代理需要查看网络设置-代理设置

终于搞定了,感谢各路大神,特此记录!! 

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号