Git系列---【git拉代码时报getaddrinfo() thread failed to start】

1.问题

git拉取代码时报下面的错误:

复制代码
Administrator@hjw-128 MINGW64 ~/Desktop/hd/repo
$ git clone https://github.com/alwaysonline77/risk_server.git
Cloning into 'risk_server'...
fatal: unable to access 'https://github.com/alwaysonline77/risk_server.git/': getaddrinfo() thread failed to start

2.解决方案

试了各种方法,最后关闭防火墙,立马就好了。但是防火墙不能一直关着呀,所以还需要下面的设置,放开git即可。

  • 1.windows搜索:允许应用通过 Windows 防火墙
  • 2.如果默认列表里没有,就手动添加
    手动选择你的git的安装目录
    在专用和公用列打勾选中
  • 3.再打开防火墙即可
相关推荐
`流年づ2 天前
联邦学习-安全聚合
git·安全·github
喜欢吃燃面2 天前
Git 原理与使用(三):标签、多人协作与 Git Flow 落地
大数据·git·elasticsearch
喜欢吃燃面2 天前
Git 原理与使用(二):分支是平行宇宙,远程仓库是共享时空
大数据·git·elasticsearch
怪我冷i2 天前
Git主备分离,双仓库发布
git
解道Jdon2 天前
Rust重写OpenCode Rune:性能提升最高100倍
ide·windows·git·svn·eclipse·github·visual studio
黎羽_3 天前
终端/办公工具第二组:timewarrior + git-filter-repo + pre-commit + trafilatura + monolith
git·终端工具·开发效率·实战复盘
skywalk81633 天前
git上传的时候,它这个版的提交,是否包括了以前的改动? 比如下面这个,它前面的一些改动,会自动因为f91285c70dde 提交而提交吗?
git
Haooog4 天前
OpenHands 定时任务同步后还是关着?先查 Git Sync 的启停开关
git·agent·定时任务·配置管理·openhands
崖边看雾5 天前
Git 手册:三区、分支、撤销、冲突与团队协作
大数据·git·elasticsearch
李永奉5 天前
Git和GitHub-VS Code 图形化 Git 放弃更改、暂存与取消暂存、撤销上一次提交(VS Code 界面操作 + 命令行对照)
git·github