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
相关推荐
林一怂儿1 小时前
H5 火柴人科目三和GitHub获取仓库点星星的用户列表发生了艺术的碰撞
github
油泼辣子多加11 小时前
2025年02月21日Github流行趋势
github
AC使者1 天前
介绍 TensorFlow 的基本概念和使用场景。
开发语言·自然语言处理·sqlite·github
JustHappy1 天前
「我们一起做组件库🌻」做个面包屑🥖,Vue的依赖注入实战💉(VersakitUI开发实录)
前端·javascript·github
桃木山人1 天前
BigData File Viewer报错
大数据·java-ee·github·bigdata
逸Y 仙X1 天前
Git常见命令--助力开发
java·大数据·git·java-ee·github·idea
007_rbq1 天前
XUnity.AutoTranslator-Gemini——调用Google的Gemini API, 实现Unity游戏中日文文本的自动翻译
人工智能·python·游戏·机器学习·unity·github·机器翻译
非 白2 天前
【后端】gitHub访问速度太慢解决办法
github
dringlestry2 天前
pycharm将当前项目上传到github
ide·pycharm·github
油泼辣子多加2 天前
2025年02月17日Github流行趋势
github