- Newest
- Most votes
- Most comments
Hello.
The document below states that 6379 and 6380 are used, so it seems to work normally.
What you are outputting with "CfnOutput" is the port number of the reader endpoint, so 6380 should be normal.
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/wwe-troubleshooting.html#wwe-troubleshooting.connection
Ensure the security group allows access to ports 6379 and 6380: ElastiCache Serverless uses the 6379 port for the primary endpoint and the 6380 port for the reader endpoint. Some clients establish connectivity to both ports for every new connection, even if your application is not using the Read from Replica feature. If your security group does not allow inbound access to both ports, then connection establishment can take longer. Learn more about how to setup port access here.
I think if you check the writer endpoint with "attrEndpointPort" it will be 6379.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_elasticache.CfnServerlessCache.html
Relevant content
- asked 5 days ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 4 months ago
Thanks @Riku