在vscode中安装GO语言相关插件的时候,报错:
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.
问题原因:
这是因为我们访问的地址被防火墙给屏蔽了,你需要改成我们国内可用的代理地址
解决办法:
在cmd中输入:文章来源:https://www.toymoban.com/news/detail-512198.html
go env -w GOPROXY=https://goproxy.cn
然后,重新打开vscode重新安装GO语言相关插件,即可安装成功。文章来源地址https://www.toymoban.com/news/detail-512198.html
到了这里,关于A connection attempt failed because the connected party did not properly respond after a period of……的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!