git拉取 报错getaddrinfo() thread failed to start解决办法

2025年8月9日14:38:15 发表评论 17 ℃

今天打开电脑拉取代码,突然失败,报错如下:

git拉取 报错getaddrinfo() thread failed to start解决办法

一开始以为网络问题,刷新DNS、更换了WiFi都不行。

以为git出现问题了,又重新卸载安装了git,故障依旧。

尝试重新拉一个其他仓库的代码,也是一样的问题。

最后甚至把ipV6也关掉的了,也不行。

在我打开IDE工具的时候,突然右下方提示我git收到windows defender的限制,可能影响性能。

git拉取 报错getaddrinfo() thread failed to start解决办法

于是去查看windows自带的防火墙,不知道什么时候他自己开启了。

git拉取 报错getaddrinfo() thread failed to start解决办法

关闭以后git一切就正常了。

【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: