Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio code 谷歌云引擎上的代码服务器(Visual Studio代码)-错误连接被拒绝_Visual Studio Code_Google Cloud Platform - Fatal编程技术网

Visual studio code 谷歌云引擎上的代码服务器(Visual Studio代码)-错误连接被拒绝

Visual studio code 谷歌云引擎上的代码服务器(Visual Studio代码)-错误连接被拒绝,visual-studio-code,google-cloud-platform,Visual Studio Code,Google Cloud Platform,我想安装一台安装了VSCode的google云引擎机器。 我遵循了以下安装: 1.Ubuntu20LTS 2.wget{version}/code server-{version}-linux-x64.tar.gz 3.tar-xvzf代码服务器-{version}-linux-x64.tar.gz 4.cd代码服务器-{version}-linux-x64 5.sudo./code服务器-p80 输出为: 防火墙规则包括: 当我浏览到 为了确保端口在服务器端是开放的和可访问的,缺少了什么

我想安装一台安装了VSCode的google云引擎机器。 我遵循了以下安装: 1.Ubuntu20LTS 2.wget{version}/code server-{version}-linux-x64.tar.gz 3.tar-xvzf代码服务器-{version}-linux-x64.tar.gz 4.cd代码服务器-{version}-linux-x64 5.sudo./code服务器-p80

输出为:

防火墙规则包括:

当我浏览到

为了确保端口在服务器端是开放的和可访问的,缺少了什么

谢谢,
埃拉兰

我终于为自己找到了一条路。根据这里的回答:

您需要在主机0.0.0.0下运行代码服务器


i、 e.
$PASSWORD=PASSWORD PORT=8443代码服务器——主机0.0.0

防火墙规则是否应用于“server-code-bazel-1”实例?对于我的情况,是的,但仍然无法访问我的vscode。