我是靠谱客的博主 大气冬日,这篇文章主要介绍Go 在编译时报 A connection attempt failed because the connected party did not properly respond after...,现在分享给大家,希望可以做个参考。

很多新手朋友在编译go的过程中是不是经常会遇到下面这样的报错:

dial tcp 172.217.163.49: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

 

最后

以上就是大气冬日最近收集整理的关于Go 在编译时报 A connection attempt failed because the connected party did not properly respond after...的全部内容,更多相关Go内容请搜索靠谱客的其他文章。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部