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
相关推荐
Moonbit1 天前
月报 Vol.04 : 新增 async test 与 async fn main 语法,新增 lexmatch 表达式
后端·github·编程语言
逛逛GitHub1 天前
发现 4 个贼好玩的 GitHub 项目,相当给劲儿。
github
悟能不能悟1 天前
用cmd命令修改适配器ip
网络·tcp/ip·github
whysqwhw1 天前
kuiklyui core-ksp ios
github
whysqwhw1 天前
kuiklyui core-ksp 鸿蒙
github
CoderJia程序员甲1 天前
GitHub 热榜项目 - 日榜(2025-10-12)
ai·github·开源项目·github热榜
whysqwhw1 天前
kuikly core-ksp 安卓
github
Tfly__1 天前
Ubuntu 20.04 安装Aerial Gym Simulator - 基于 Gym 的无人机强化学习仿真器
linux·人工智能·ubuntu·github·无人机·强化学习·运动规划
CoderJia程序员甲2 天前
GitHub 热榜项目 - 日榜(2025-10-13)
ai·开源·大模型·github·ai教程
uhakadotcom2 天前
coze的AsyncTokenAuth和coze的TokenAuth有哪些使用的差异?
后端·面试·github