- Más nuevo
- Más votos
- Más comentarios
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
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.
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
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 7 meses
- OFICIAL DE AWSActualizada hace 2 años