Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect ElastiCache from SpringBoot Application run on another Machine #1591

Open
meiyouya opened this issue Dec 9, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@meiyouya
Copy link

meiyouya commented Dec 9, 2024

I created a Replication groups in cluster mode but I got a error when I connect it with SpringBoot.
error msg:

 i.l.core.cluster.RedisClusterClient      : Connection refused: /127.0.0.1:4513
 i.l.core.cluster.RedisClusterClient      : Connection refused: /127.0.0.1:4519
 i.l.core.cluster.RedisClusterClient      : Connection refused: /127.0.0.1:4520
 i.l.core.cluster.RedisClusterClient      : Connection refused: /127.0.0.1:4512
 i.l.core.cluster.RedisClusterClient      : Connection refused: /127.0.0.1:4514
 i.l.core.cluster.RedisClusterClient      : Connection refused: /127.0.0.1:4515

my yml:

spring:
  cloud:
    aws:
      credentials:
        access-key: xxxx
        secret-key: xxxx
      region:
        static: ap-northeast-1
      endpoint: http://localhost.localstack.cloud:4566
  data:
    redis:
      cluster:
        nodes: localhost.localstack.cloud:4512,localhost.localstack.cloud:4513,localhost.localstack.cloud:4514,localhost.localstack.cloud:4515,localhost.localstack.cloud:4519,localhost.localstack.cloud:4520
@drauedo drauedo added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants