2 Answers
- Newest
- Most votes
- Most comments
0
- Check if Redis is running and accessible on the correct port.
- Verify the Redis configuration, including binding address and authentication.
- Ensure the firewall/security group rules allow access to the Redis port.
- Confirm the application connection details are correct.
- Check the logs for any specific errors.
- Test the connection using the Redis CLI.
- Restart the Redis server if needed.
0
-
If you already have an EC2 instance in the same VPC that connects to Redis, you can use the same security group for your Bitnami machine.
-
First, check the telnet connectivity. If the telnet connection works, there is no network connectivity issue.
telnet endpoint 6379
- If telnet is not working, you can use the Reachability Analyzer to help you find where the network issue is.
[+] https://aws.amazon.com/blogs/aws/new-vpc-insights-analyzes-reachability-and-visibility-in-vpcs/
- Also, ensure whether your ElastiCache Redis has transit encryption enabled or not. If enabled, use a TLS connection. To connect via TLS, you need to download some SSL dependency packages.
[+] https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/connect-tls.html
e.g.,
redis-cli -h Primary or Configuration Endpoint --tls -p 6379
answered 2 years ago
Relevant content
- asked 2 years ago
