当前位置:   article > 正文

Git报错 Failed to connect to github.com port 443 解决方案_failed to connect to git.piesat.cn port 443: conne

failed to connect to git.piesat.cn port 443: connection refused

使用了vpn
ip地址为127.0.0.1,端口再电脑搜代理然后查看在这里插入图片描述

配置socks5代理

git config --global http.proxy socks5 127.0.0.1:7890
git config --global https.proxy socks5 127.0.0.1:7890
  • 1
  • 2

配置http代理

git config --global http.proxy 127.0.0.1:7890
git config --global https.proxy 127.0.0.1:7890
  • 1
  • 2

查看代理命令

git config --global --get http.proxy
git config --global --get https.proxy
  • 1
  • 2

取消代理命令

git config --global --unset http.proxy
git config --global --unset https.proxy
  • 1
  • 2
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/571579
推荐阅读
相关标签
  

闽ICP备14008679号