I am seeing the wifi ip address instead of localhost when remoting is starting up the backend servers are trying to join on the localhost address but failing
[INFO] [12/05/2019 16:14:50.105] [main] [akka.remote.Remoting] Starting remoting
[INFO] [12/05/2019 16:14:50.572] [main] [akka.remote.Remoting] Remoting started; listening on addresses :[akka.tcp://ClusterSystem@
10.31.53.249:2552][INFO] [12/05/2019 16:14:50.574] [main] [akka.remote.Remoting] Remoting now listens on addresses: [akka.tcp://
Cluste...@10.31.53.249:2552]
[INFO] [12/05/2019 16:14:50.643] [main] [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://
Cluste...@10.31.53.249:2552] - Starting up, Akka version [2.6.0-M8] ...
[INFO] [12/05/2019 16:14:50.784] [main] [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://
Cluste...@10.31.53.249:2552] - Registered cluster JMX MBean [akka:type=Cluster]
[INFO] [12/05/2019 16:14:50.784] [main] [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://
Cluste...@10.31.53.249:2552] - Started up successfully
[WARN] [12/05/2019 16:14:50.959] [New I/O boss #3] [NettyTransport(akka://ClusterSystem)] Remote connection to [null] failed with java.net.ConnectException: Connection refused: /
127.0.0.1:2552[WARN] [12/05/2019 16:14:50.959] [New I/O boss #3] [NettyTransport(akka://ClusterSystem)] Remote connection to [null] failed with java.net.ConnectException: Connection refused: /
127.0.0.1:2551[INFO] [12/05/2019 16:14:50.966] [ClusterSystem-akka.actor.default-dispatcher-5] [akka://ClusterSystem/deadLetters] Message [akka.cluster.InternalClusterAction$InitJoin] from Actor[akka://ClusterSystem/system/cluster/core/daemon/joinSeedNodeProcess-1#1325673130] to Actor[akka://ClusterSystem/deadLetters] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://ClusterSystem/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [12/05/2019 16:14:50.966] [ClusterSystem-akka.actor.default-dispatcher-5] [akka://ClusterSystem/deadLetters] Message [akka.cluster.InternalClusterAction$InitJoin] from Actor[akka://ClusterSystem/system/cluster/core/daemon/joinSeedNodeProcess-1#1325673130] to Actor[akka://ClusterSystem/deadLetters] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://ClusterSystem/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [12/05/2019 16:14:51.063] [ClusterSystem-akka.actor.default-dispatcher-5] [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://
Cluste...@10.31.53.249:2552] - Metrics collection has started successfully
[INFO] [12/05/2019 16:14:51.072] [main] [akka.remote.Remoting] Starting remoting
[ERROR] [12/05/2019 16:14:51.080] [ClusterSystem-akka.remote.default-remote-dispatcher-15] [NettyTransport(akka://ClusterSystem)] failed to bind to /
10.31.53.249:2552, shutting down Netty transport
[ERROR] [12/05/2019 16:14:51.087] [main] [akka.remote.Remoting] Remoting error: [Startup failed] [
akka {
actor {
provider = cluster
}
remote {
netty.tcp {
hostname = "127.0.0.1"
port = 0
}
artery {
# change this to enabled=on to use Artery instead of netty
# see https://doc.akka.io/docs/akka/current/remoting-artery.html
enabled = off
transport = tcp
canonical.hostname = "127.0.0.1"
canonical.port = 0
}
}
cluster {
seed-nodes = [
"akka.tcp://Cluste...@127.0.0.1:2551",
"akka.tcp://Cluste...@127.0.0.1:2552"]
# auto downing is NOT safe for production deployments.
# you may want to use it during development, read more about it in the docs.
auto-down-unreachable-after = 10s
}
}
# Enable metrics extension in akka-cluster-metrics.
akka.extensions=["akka.cluster.metrics.ClusterMetricsExtension"]
# Sigar native library extract location during tests.
# Note: use per-jvm-instance folder when running multiple jvm on one host.
akka.cluster.metrics.native-library-extract-folder=${user.dir}/target/native