Lor*_*Web 3 connection google-cloud-platform
我在 stackoverflow 上看到过类似的错误,但代码不同(所以可能不一样?)。无论我如何自发地抛出这个错误。有时在启动我的实例 20 秒后(并在浏览器中启动 SSH),有时在 30 分钟后,但它完全关闭了我的实例。
Connection via Cloud Identity-Aware Proxy Failed
Code: 4010
Reason: destination read failed
You may be able to connect without using the Cloud Identity-Aware Proxy.
Run Code Online (Sandbox Code Playgroud)
如果我点击“Cloud Identity-Aware Proxy”按钮,我会得到:
Connection Failed
We are unable to connect to the VM on port 22. Learn more about possible causes of this issue.
Run Code Online (Sandbox Code Playgroud)
知道发生了什么吗?我很长时间没有对我的实例设置进行任何更改。
有关与实例的身份感知代理 ( IAP ) 连接的问题是由于缺少使用 IAP 时需要配置的具有此 IP 范围的防火墙规则 。allow-ingress-from-iap35.235.240.0/20
要允许 SSH 访问网络中的所有 VM 实例,请执行以下操作:
1- 打开防火墙规则页面(Navigation menu > VPC network > Firewall),然后单击创建防火墙规则
2- 配置以下设置:
allow-ingress-from-iap35.235.240.0/2022以允许SSH3-单击创建
| 归档时间: |
|
| 查看次数: |
2768 次 |
| 最近记录: |