git报错:Failed to connect to github.com port 443: Timed out

git提交报错

java 复制代码
git报错:Failed to connect to github.com port 443: Timed out

解决办法

  • 使用ping github.com 发现ping不通
  • 修改hosts文件,让主机跳过DNS服务器 直接根据hosts配置信息进行替换域名
  • 在ipaddress.com查询Github真实IP地址
  • 打开hosts文件 添加配置 一般位于C:\Windows\System32\drivers\etc\hosts
相关推荐
miofly10 分钟前
Meta发布小模型Muse Ember,智能体基准多项超GPT-6与Claude Haiku 5.5
开源·github
wflynn1 小时前
GitHub 日榜趋势速报 | 2026-11-09
开源·github
miofly3 小时前
GitHub 日榜趋势速报 | 2026-11-10
开源·github
Yingyingyingyyy3 小时前
GitHub 开源热榜项目-周榜(2026-11-09)
开源·github
孟郎郎14 小时前
打造一切(Craft Anything)——克隆构造世间万物
人工智能·ai·github·软件构建·开源软件
海洋之恒16 小时前
GitHub Actions 自动化:5 个真实运维提效案例
运维·自动化·github
小Z先生16 小时前
我用 Go + 系统 WebView 写了个纯本地 Postman:不装 Electron、不连云端
后端·github
fthux1 天前
待办清单写满了,别忘了给休息留个位置:试试 Tick Rest
开源·github·mac·提醒·open source·消息提醒·tick rest·tick rest for mac·消息提醒app
GitHub实测笔记1 天前
dust 本机实测:/usr 扫树中位 92ms、du -sh 80ms;-s 不是汇总,稀疏文件 0→100Mi
github
逛逛GitHub1 天前
有个刚开源的 GitHub 项目有说法,竟然能在终端里再跑一台 Mac。
github