Unable to telnet to GCP MemoryStore

一曲冷凌霜 提交于 2020-04-16 04:12:33

问题


I have created an instance of the Memory store in my project but I am unable to telnet / connect to it, either from my local or the Google Cloud Shell. Searching online, I see that other people have been granted the same host IP as mine so I am a little confused (10.0.0.3). Some assistance on how to proceed here would be great. Do I have to expose something here?

I have completed the following:

  1. Recreated my VM on the same region as the memory store
  2. Created a new instance of the memory store (gave me a new IP) but I am still unable to telnet

回答1:


You can connect to Cloud MemoryStore provided that you are in the same project, region and network. If any of these are different you will not be able to connect.

The IP address 10.0.0.3 is an RFC 1918 private address. This is why you must be in the same network to be able to connect. Also you need to enable firewall rules to allow traffic between your instance and Cloud Memorystore.

This link shows you how to connect to Cloud Memorystore from a GCE instance.

Connecting to a Redis Instance



来源:https://stackoverflow.com/questions/52936287/unable-to-telnet-to-gcp-memorystore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!