failed to connect to gitee.com port 443: timed out

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了failed to connect to gitee.com port 443: timed out相关的知识,希望对你有一定的参考价值。

参考技术A 1、连接超时,首先找到git的安装目录,找到/etc/ssh/ssh_config文件
2、用notepad++打开,复制这几句到该文件最后

Host github.com

User git

Hostname ssh.github.com

PreferredAuthentications publickey

IdentityFile ~/.ssh/id_rsa

Port 443

3、解决

Failed to connect to 127.0.0.1 port 1080: Connection refused package 问题解决方法

错误信息:

git.exe clone --progress -v “https://gitee.com/vmu/cimg” “D:\\你的文件路径\\cimg”
Cloning into ‘D:\\你的文件路径\\cimg’…
fatal: unable to access ‘https://gitee.com/vmu/cimg/’: Failed to connect to 127.0.0.1 port 31181: Connection refused

解决方法:

1.打开C:\\Users*****文件下 .gitconfig 文件

2.删除下图中的东西(或者直接删除整个文件)

然后就可以了

以上是关于failed to connect to gitee.com port 443: timed out的主要内容,如果未能解决你的问题,请参考以下文章

Failed to connect to 127.0.0.1 port 1080: Connection refused package 问题解决方法

Failed to connect to 127.0.0.1 port 1080: Connection refused package 问题解决方法

error: failed to connect to the hypervisor error: Failed to connect socket to '/var/run/libvirt/

Git错误:error:failed to push some refs to 'git@gitee.com:name/project.git'

start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart:

GlideException: Failed to load resource……java.net.SocketTimeoutException(failed to connect to xxx)