【Solve error】Failed to connect to github.com port 443 after 21130 ms: Timed out

Problem Description

When downloading or pulling github code, a timeout error occurs: Failed to connect to github.com port 443 after 21097 ms: Timed out
insert image description here

Cause Analysis:

Internet problem

solution:

First switch the child to the global, then cancel, then cancel the global proxy, and finally git pull or git push

set proxy

git config --global https.proxy

cancel proxy

git config --global --unset https.proxy```

![在这里插入图片描述](https://img-blog.csdnimg.cn/32c69532b84a42a7a94309df1e1578e4.png#pic_center)
成功提交!!!
![在这里插入图片描述](https://img-blog.csdnimg.cn/1b0b4437d67947a98ca1889576f30072.png#pic_center)

Guess you like

Origin blog.csdn.net/wahahaha116/article/details/128704990