@octavz wrote:
Hi,
I want to setup a local environment (for testing) where multiple clusters would use same address and different ports:
I have 3 nodes with this config (the management.http.port is ofc different for each of them same for the netty.tcp.port ):
akka{ discovery { method = config config.services = { test-cluster = { endpoints = [ { host = "127.0.0.1" port = 8001 }, { host = "127.0.0.1" port = 8002 }, { host = "127.0.0.1" port = 8003 }] } } } management { http.hostname="127.0.0.1" http.port=8001 cluster.bootstrap { contact-point-discovery { service-name = "test-cluster" } } } remote.netty.tcp.hostname = "127.0.0.1" remote.netty.tcp.port = 30001 actor.provider = "cluster" }
If I use 127.0.0.1/2/3 for the
endpoints
it will work (example in the docs).
However if I am using same IP for akka management and different ports it doesn’t, I don’t want to setup multiple loopback addresses because the setup would not usable in a concurrent CI environment.Can someone point me in the right direction?
Thank You
Posts: 1
Participants: 1