gpt4 book ai didi

redis - elasticache redis 不响应 redis-cli 命令

转载 作者:可可西里 更新时间:2023-11-01 11:23:07 24 4
gpt4 key购买 nike

我已经用 redis 设置了 elasticache,主机是可连接的,我可以用 telnet 确认,当发出 Redis 命令时,它不会返回任何结果,无论是用 ubuntu@ip-10-0-2-8:~$ redis-cli -h master.xxxxxx-xxxx.xxxxx.xxxx.cache.amazonaws.com -p 6379 信息或telnet非常不幸的是,AWS 无法向您显示 Redis 日志

最佳答案

The redis-cli client does not support SSL/TLS connections. To use the redis-cli to access an ElastiCache for Redis node (cluster mode disabled) with in-transit encryption, you can use the stunnel package in your Linux-based clients. The stunnel command can create an SSL tunnel to Redis nodes specified in the stunnel configuration. After the tunnel is established, the redis-cli can be used to connect an in-transit encryption enabled cluster node.

来源:https://aws.amazon.com/premiumsupport/

因此您可以使用 stunnel 或禁用传输中加密。

关于redis - elasticache redis 不响应 redis-cli 命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57713655/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com