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

preguntada hace 8 meses240 visualizaciones
3 Respuestas
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
EXPERTO
respondido hace 8 meses
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

respondido hace 8 meses
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
respondido hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas