我是靠谱客的博主 阔达乌冬面,这篇文章主要介绍vscode安装报错-Upload to the Go Playground failed. Post “https://play.golang.org/compile“: dial tcp 172.,现在分享给大家,希望可以做个参考。

Upload to the Go Playground in progress…

Upload to the Go Playground failed.
Post “https://play.golang.org/compile”: dial tcp 172.217.160.81: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.
“https://play.golang.org/compile“:拨打tcp 172.217.160.81:443:connectex:连接尝试失败,因为连接方在一段时间后没有正确响应,或者建立的连接失败,因为连接的主机没有响应。
连接没有建立
因为代理地址是国外的,或许被禁用了,可以在命令中打上

go env -w GOPROXY=https://goproxy.cn
![在这里插入图片描述](https://img-blog.csdnimg.cn/8efc823f692846dda9daeaf8867fe3a2.png)
![在这里插入图片描述](https://img-blog.csdnimg.cn/7b08d2ba1a1143b1a1f3b429ba30ec9e.png)

然而并没有解决。。。
网上进行搜索,发现需要初始化项目才行 
因此

```go
go mode init test01(自己的文件名称)

之后运行。。。
在这里插入图片描述

最后

以上就是阔达乌冬面最近收集整理的关于vscode安装报错-Upload to the Go Playground failed. Post “https://play.golang.org/compile“: dial tcp 172.的全部内容,更多相关vscode安装报错-Upload内容请搜索靠谱客的其他文章。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部