Local network/interface binding
This is used to limit the bound interfaces and ports that Hazelcast associates with.
<network> <port auto-increment="false">5701</port> <interfaces enabled="true"> <interface>192.168.0.*</interface> </interfaces> </network> NetworkConfig nc = config.getNetworkConfig(); nc.setPort(5701).setPortAutoIncrement(false); nc.getInterfaces().addInterface("192.168.0.*");
Get Getting Started with Hazelcast - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.