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
相关推荐
一只大袋鼠6 小时前
Git 进阶(二):分支管理、暂存栈、远程仓库与多人协作
java·开发语言·git
STDD10 小时前
Soulmask《灵魂面具》 专用服务器搭建教程
运维·服务器·github
lolo大魔王10 小时前
Linux的监测程序
linux·运维·github
我叫张小白。13 小时前
Git 分支管理与团队协作
git
米高梅狮子14 小时前
Redis
数据库·redis·mysql·缓存·docker·容器·github
_Evan_Yao15 小时前
如何搭建属于自己的技术博客(CSDN / GitHub Pages)
后端·学习·github
DogDaoDao15 小时前
Windows 下 Git 报错:`touch` 无法识别 —— 原因分析与 7 种解决方案(从入门到精通)
windows·git·程序员·npm·powershell·cmd·touch
Quirkybrain15 小时前
从多态调用到简单析构:C 语言里的对象生命周期管理
github
caicai_xiaobai15 小时前
Ubuntu上Git安装步骤
linux·git·ubuntu
加贝哥|usun16 小时前
最佳实践分享:GitHub项目自动同步到Gitee(码云)
gitee·github