我无法连接到Google应用引擎灵活的环境实例。 Node.js的

问题描述 投票:0回答:1

我使用SSH时出错了。我想解决它。你能帮我么?

Welcome to Cloud Shell! Type "help" to get started.
...
$ gcloud --project "xxx" app instances ssh "xxx" --service "xxx" --version "xxx"
ssh: connect to host xx.xx.xx.xx port 22: Connection timed out
ERROR: (gcloud.app.instances.ssh) [/usr/bin/ssh] exited with return code [255].

我看了文档。 https://cloud.google.com/appengine/docs/flexible/nodejs/debugging-an-instance

我在云外壳上尝试了它,并按下了SSH按钮。我使用Nodejs运行时。

我有老板的角色。

google-app-engine app-engine-flexible
1个回答
2
投票

由于权限或防火墙问题,通常会发生255错误。在您的情况下,您拥有所有者角色,我会尝试使用防火墙设置。创建一个允许IP范围为0.0.0.0/0的新范围,如steps here中所述。

© www.soinside.com 2019 - 2024. All rights reserved.