Failed to connect to github.com port 443 after 21055 ms: Timed out

目前自己使用了*还是会报这样的错误,连接不到的github。

查了一下原因:

是因为这个请求没有走代理。

解决方案:

设置 -> 网络和Internet -> 代理 -> 编辑

记住这个IP和端口

使用以下命令:

java 复制代码
git config --global http.proxy http://127.0.0.1:10809

git config --global https.proxy http://127.0.0.1:10809

问题得到解决!!!

可以使用一下命令取消代理:

java 复制代码
取消全局代理:
git config --global --unset http.proxy
 
git config --global --unset https.proxy
相关推荐
极智-9963 小时前
GitHub 热榜项目-日榜精选(2026-02-03)| AI智能体、终端工具、RAG技术等 | claude-mem、99、termux-app等
人工智能·网络安全·github·ai智能体·llm应用·rag技术·torrent工具
骂我的人都死了4 小时前
DevOps架构部署
运维·ubuntu·docker·k8s·github·devops·python3.11
Alaaaaaaan4 小时前
[DevOps]使用github-action工具部署docker容器(实现提交代码一键推送部署到服务器)
服务器·前端·docker·容器·github
CryptoRzz5 小时前
德国股票数据 API 对接实战(DAX 指数与实时行情)
websocket·区块链·github·分布式账本
Tipriest_5 小时前
GitHub Gist 功能详解:从入门到进阶
github·gist
困惑阿三6 小时前
CloudflarePages+GitHub零成本博客搭建手册
github
猫头虎7 小时前
2026全网最热Claude Skills工具箱,GitHub上最受欢迎的7大Skills开源AI技能库
langchain·开源·prompt·github·aigc·ai编程·agi
CoderJia程序员甲8 小时前
GitHub 热榜项目 - 日榜(2026-02-03)
git·ai·开源·llm·github
MicrosoftReactor10 小时前
技术速递|使用 GitHub Copilot SDK 将智能体集成到任何应用中
ai·github·copilot
极智-9961 天前
GitHub 热榜项目-日榜精选(2026-02-02)| AI智能体、终端工具、视频生成等 | openclaw、99、Maestro等
人工智能·github·视频生成·终端工具·ai智能体·电子书管理·rust工具