Hazelcast: connecting to remote cluster
To connect to the remote cluster, make sure the cluster uses the external IP and not 127.0.0.1
. In our case we have a single physical system, with multiple nodes, with tcp-ip
mode enabled. The hazelcast.xml
has the configuration:
<tcp-ip enabled="true">
<!-- This should be external IP -->
<interface>172.x.x.x</interface>
</tcp-ip>