A connection attempt failed because the connected party did not properly respond after a period of……

编程入门 行业动态 更新时间:2024-10-21 09:31:22

在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中输入:

 go env -w GOPROXY=https://goproxy

然后,重新打开vscode重新安装GO语言相关插件,即可安装成功。

更多推荐

A connection attempt failed because the connected party did not properly respond

本文发布于:2023-06-13 23:55:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1416068.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:failed   connected   connection   attempt   respond

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!