Not Able to connect with Redis-cluster

0

I have created the Redis-cache with the option Design by option --> After that i choose the Dev/test cluster

Creation method i choose Easy create.

But when i try to connect using the Endpoint i didn't get response. Also not getting any error.

You can see the Img.img

asked 7 months ago225 views
3 Answers
0

Hello.

Try specifying the port number explicitly as shown below.

redis-cli -c -h redis-endpoint.aps1.cache.amazonaws.com -p 6379

Also, do you allow the necessary communication in the inbound rules of the Redis Cluster security group?
The default port for Redis is 6379.
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/accessing-elasticache.html
https://repost.aws/knowledge-center/elasticache-redis-cluster-fix-connection

profile picture
EXPERT
answered 7 months ago
0

After change the cmd, still not connected.

Also i have checked all the ports.

when i create the Redis cluster in test mode, it's easily connected with the server.

redis

answered 7 months ago
0

The Easy create creation method in ElastiCache console has the default setting of In-transit encryption = Enabled. Therefore connections to TLS-enabled clusters should be done with --tls option in redis-cli, make sure the redis-cli is compiled with BUILD_TLS=yes as shown here.

Sample command:

redis-cli -c -h <endpoint> -p 6379 --tls

There is more detail available in this blog: https://repost.aws/knowledge-center/elasticache-connection-test

AWS
answered 18 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions