Akka - Binding address is failing

Hi,

Below is my application.conf properties .
I have two hostname “myproject-uat” which I have configured in canonical.hostname and other one is the local address.

image

Can anyone please check the above configuration for binding both address having different ip address but same port?

If it is not working as expected, make sure you have the correct full name space, which should be akka.remote-artery, so for example something like:

akka.remote.artery {
  canonical {
    port = 2551
    hostname = publicname
  }
  bind {
    port = 2552
    hostname = 192.168.1.14
  }
}

would bind to 192.168.1.14:2552 but expect that incoming messages has the destination publicname:2551.