我是靠谱客的博主 友好砖头,这篇文章主要介绍dial tcp xxx: connectex: A connection attempt,现在分享给大家,希望可以做个参考。

原文链接:https://blog.csdn.net/yahohi/article/details/121055399

问题
go: github.com/at-wat/ebml-go@v0.16.0: Get “https://proxy.golang.org/github.com/at-wat/ebml-go/@v/v0.16.0.mod”: dial tcp 172.217.27.145:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

原因
请求的地址被墙了

解决办法
go env -w GOPROXY=https://goproxy.cn
1
改成国内代理地址即可。
 

最后

以上就是友好砖头最近收集整理的关于dial tcp xxx: connectex: A connection attempt的全部内容,更多相关dial内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(57)

评论列表共有 0 条评论

立即
投稿
返回
顶部