高端网站制作开发,株洲网站制作,如何交换友情链接,网站防站文章目录 前言原因分析以及解决办法原因分析解决办法 参考 前言
在Github上面克隆代码仓库出现Failed to connect to 127.0.0.1 port 1080 after 2063 ms: Couldnt connect to server、Failed to connect to github.com port 443 after 21083 ms: Couldnt connect to server等… 文章目录 前言原因分析以及解决办法原因分析解决办法 参考 前言
在Github上面克隆代码仓库出现Failed to connect to 127.0.0.1 port 1080 after 2063 ms: Couldnt connect to server、Failed to connect to github.com port 443 after 21083 ms: Couldnt connect to server等提示Couldnt connect to server错误无法正常下载。通过下面办法得以解决故记录下来以供后续参考也为大家提供一些思路。
原因分析以及解决办法
原因分析
出现Couldn’t connect to server的原因多半是因为先前通过下述终端命令设置了github的访问代理取消即可正常访问。
git config --global http.proxy http://127.0.0.1:1080git config --global http.proxy https://127.0.0.1:1080解决办法
确保自己能够ping得通github.com。依次在Git Bash中输入下面两行命令然后在执行clone命令就好了
git config --global --unset http.proxygit config --global --unset https.proxy参考
解决 Failed to connect to github.com port 443:connection timed out[报错解决] Failed to connect to github.com port 443 after ***** ms: Couldn‘t connect to server 收集整理和创作不易, 若有帮助, 请帮忙点赞➕收藏❤️, 谢谢!✨✨