在vscode中安裝GO語(yǔ)言相關(guān)插件的時(shí)候,報(bào)錯(cuò):
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.
?問(wèn)題原因:
這是因?yàn)槲覀冊(cè)L問(wèn)的地址被防火墻給屏蔽了,你需要改成我們國(guó)內(nèi)可用的代理地址
解決辦法:
在cmd中輸入:文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-512198.html
go env -w GOPROXY=https://goproxy.cn
然后,重新打開(kāi)vscode重新安裝GO語(yǔ)言相關(guān)插件,即可安裝成功。文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-512198.html
到了這里,關(guān)于A connection attempt failed because the connected party did not properly respond after a period of……的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!