git clone https://github.com/RubyLouvre/avalon
Cloning into 'avalon'...
fatal: unable to access 'https://github.com/RubyLouvre/avalon/': Failed to connect to github.com port 443: Operation timed out
我不能使用 HTTPS 来克隆任何 repo,但我可以通过 SSH 克隆它们。git clone git@github.com:RubyLouvre/avalon.git
Cloning into 'avalon'...
remote: Counting objects: 33102, done.
remote: Compressing objects: 100% (44/44), done.
这有什么问题?我什至设置了代理,但它仍然无法正常工作。我尝试了很多网络环境,但没有任何意义。
最佳答案
如果您使用代理进行网络连接,那么您必须在 git 配置文件中添加代理。使用以下命令添加代理。
git config --global http.proxy http[s]://username:password@proxyipaddress:portnumber
关于git - 无法连接到 github.com 端口 443 : Operation timed out,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38663299/