Reputation: 3964
I followed the two following tutorials:
The only thing I did different is that I deployed the code of Redis from the second tutorial, not from the first link.
As mentioned "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.
my-service: 10.162.0.17 (nic0)
redis: 10.169.12.195:6379
Same project, same region, same zone (a)
However, when I do:
user@my-service:~$ telnet 10.0.0.27 6379
Trying 10.0.0.27...
Nothing happens..
Upvotes: 0
Views: 69
Reputation: 81454
The documentation specifies the command telnet 10.0.0.27 6379
. This is an example that you need to modify for your environment.
Change the command to:
telnet 10.169.12.195 6379
Upvotes: 2