Reputation: 23
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:
Upvotes: 2
Views: 1489
Reputation: 81336
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
Upvotes: 1