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
相关推荐
CCPC不拿奖不改名4 小时前
大模型推理架构与开源生态知识整理
数据库·windows·python·架构·langchain·开源·github
redreamSo9 小时前
一天涨 1800 星的 GitHub 榜首:AI 编程瓶颈变成了 token
人工智能·开源·github
逛逛GitHub11 小时前
盘点 18 个 Kimi K3 外网爆火的案例,太令人惊艳了。
github
benchmark_cc15 小时前
如何用 Python 进行多周期 K 线合成与时区对齐?基于 QuantDash 与 Pandas 的量化数据清洗实战(附 GitHub 源码)
开发语言·python·github·盯盘·pandas·quantdash·量化数据
luyingying15 小时前
从 400 行到 30 个文件,我只做了一件事
github
武子康16 小时前
GitHub Actions `pull_request_target` 与 Pwn Request:高权限工作流里的 Fork 代码执行风险(2026)
人工智能·github·ai编程
武子康16 小时前
GitHub Models 7-30 退役全拆:Inventory + Capability Probe + Shadow Traffic + Brownout
人工智能·github·github copilot
咖啡星人k17 小时前
GitHub Copilot 加入 Agent 浏览器:验证 Web 应用进入编码闭环
前端·人工智能·github·copilot·前端开发·ai agent
C+-C资深大佬19 小时前
GitHub Actions 自动化运维实战:从零到一构建高效 CI/CD 流水线
运维·自动化·github
小弥儿1 天前
GitHub今日热榜 | 2026-07-19
人工智能·学习·github·知识图谱