我是靠谱客的博主 粗心帽子,这篇文章主要介绍go mod 环境问题 dial tcp 216.239.37.1:443: connectex: A connection attempt failed,现在分享给大家,希望可以做个参考。
最近 系统坏了 从新配go环境
用go mod 时出现dial tcp 216.239.37.1:443: connectex: A connection attempt failed这种错误 查询无果
最后是因为set GOSUMDB=sum.golang.org
先go env 看 GOSUMDB 的配置
go env -w GOSUMDB=off
把他关掉就好了
代理推荐
go env -w GOPROXY=https://goproxy.cn,direct
用go mod 快,不用翻墙
最后
以上就是粗心帽子最近收集整理的关于go mod 环境问题 dial tcp 216.239.37.1:443: connectex: A connection attempt failed的全部内容,更多相关go内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复