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
相关推荐
lkbhua莱克瓦247 小时前
Java练习-正则表达式 1
java·笔记·正则表达式·github
JanelSirry11 小时前
Redis服务器的的内存是多大
服务器·redis·github
稚麟12 小时前
GitHub Copilot CLI: How to get started
github·copilot
逛逛GitHub13 小时前
老外吹爆的国产开源 AI 大模型,登顶了开源热榜第 1。
github
天玺-vains15 小时前
借助Github Action实现通过 HTTP 请求触发邮件通知
网络协议·http·github
zachhere20 小时前
构建你的第一个 ChatGPT 应用 | 使用 Apps SDK 的逐步教程
github
HelloGitHub21 小时前
降薪跳槽,投身开源!只为 AI 落地“最后一公里”
开源·github
百锦再1 天前
第5章 所有权系统
运维·git·python·eclipse·go·github·负载均衡
赵文宇(温玉)1 天前
构建内网离线的“github.com“,完美解决内网Go开发依赖
开发语言·golang·github