当前位置:   article > 正文

fatal: unable to access 'https://github.com/X/X.git/': Failed to connect to github.com port 443:Time

fatal: unable to access 'https://github.com/X/X.git/': Failed to connect to github.com port 443:Time

fatal: unable to access 'https://github.com/XXXX/XXXX.git/': Failed to connect to github.com port 443: Timed out

$ git config --global http.proxy
 
$ git config --global --unset http.proxy
  • 1
  • 2
  • 3

参考:https://stackoverflow.com/questions/30828237/git-refuses-to-connect-without-proxy

I work on a Linux system in a Windows environment. To authenticate with a NT proxy server I had setup cntlm and configured system programs to use it via setting http_proxy environment variable in the /etc/environment file.

Now I want to remove this proxy setting and have the programs connect directly.

So I unset the system environment variables:

unset http_proxy
unset HTTP_PROXY
  • 1
  • 2

Check ~/.gitconfig to ensure that there are no proxy entries.

Explicitly instruct git not to use any proxies:


                
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/煮酒与君饮/article/detail/797630
推荐阅读
相关标签
  

闽ICP备14008679号