application.conf have below configuration
artery
{
enabled=on
transport=tcp
canonical.hostname=“host-uat”
canonical.port=2551
bind.hostname=“localaddress”
bind.port=2551
}
Can anyone please explain the exception I am getting in above screenshot.
[INFO][11/10/2020 18:25:56.272] [main] ArteryTcpTransport] Remoting started with transport [Artery tcp]; listening on address [akka:// akka-project-node1@host-uat:2551] and bound to [akka:// akka-project-node1@localaddress:2551] with UID [31824176776867]
Node2 Logs
[INFO][11/10/2020 18:00:56.272] [main] ArteryTcpTransport] Remoting started with transport [Artery tcp]; listening on address [akka:// akka-project-node2@host-uat:2555] and bound to [akka:// akka-project-node2@localaddress:2555] with UID [577676898334445]
When sending message from Node2 to Node1 getting the below exception dropping handshake: Inbound Stream failed. Restarting it.
If do not write bind configuration getting below exception:
Bind failed for TCP channel on endpoint [host-uat/ip:port
Java.net.BindException: [host-uat/ip:port] cannot assign requested address