无法从同一区域的Compute Engine访问GCP MemoryStore

我遵循了以下两个教程:

我唯一不同的是我从第二个教程而不是从第一个链接部署了Redis的代码。

如上所述"Connecting to a Redis instance" You can connect to the Redis instance from any Compute Engine VM instance located within the same project,region and network as the Redis instance.

  

我的服务: 10.162.0.17(nic0)

     

redis: 10.169.12.195:6379

     

相同的项目,相同的区域,相同的区域(a)

但是,当我这样做时:

user@my-service:~$ telnet 10.0.0.27 6379
Trying 10.0.0.27...

什么都没发生。.

junjun8142 回答:无法从同一区域的Compute Engine访问GCP MemoryStore

文档指定命令telnet 10.0.0.27 6379。这是您需要针对您的环境进行修改的示例。

将命令更改为:

telnet 10.169.12.195 6379
本文链接:https://www.f2er.com/3158446.html

大家都在问