Not Able to connect Redis serverless Endpoint in ec2 ubuntu in same VPC

0

I have created a redis serverless cache , Now i want to connect with the ec2 instance. Both are in a same VPC.

the connection is got Successfully connected , but when i send the ping to the Endpoint it's send me this error.

Error: Server closed the connection (5.01s)

Can Anyone Help me to resolve the Issue.You can see in the image

1回答
0

Hello,

It looks like you are connecting to the cache without using TLS. ElastiCache Serverless always has encryption in transit enabled and you must use TLS to connect. Please use the following redis-cli command:

redis-cli -h test-redis-fefpqv.serverless.aps1.cache.amazonaws.com --p 6379 --tls

For additional troubleshooting steps, please see: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/wwe-troubleshooting.html.

Thanks, Abhay

AWS
回答済み 3ヶ月前
profile picture
エキスパート
レビュー済み 3ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ