Failed to connect to github.com port 443 after 21066 ms: Couldn't connect to serve r
时间: 2023-09-19 16:12:03 浏览: 184
回答: 当使用clone、pull、push等git命令时出现"Failed to connect to github.com port 443 after 21084 ms: Couldn't connect to serve"的报错信息,这通常是由于代理设置引起的问题。解决方式有几种。一种是关闭代理,另一种是确保本机系统代理端口和git端口一致。如果本地可以打开github网页,但在push/clone时遇到无法连接服务器或超时的问题,可以设置代理。可以查看本地的代理设置和端口,或者直接修改.gitconfig文件来设置代理。***<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [git报错:Failed to connect to github.com port 443 after 21084 ms: Couldn‘t connect to serve](https://blog.csdn.net/qq_43651168/article/details/131074308)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Failed to connect to github.com port 443 after 21059 ms: Couldn‘t connect to server](https://blog.csdn.net/qq_54042324/article/details/131573359)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [本地 git clone 报错:Failed to connect to github.com port 443 after 21056 ms: Couldn‘t connect to ...](https://blog.csdn.net/qq_42595610/article/details/130837225)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文