Our server have two ip,one is real ip,another is LAN ip(such as 192.168.0.2),theĀ real ip is protected by iptables and LAN ip is not,but when I useĀ RMICacheManagerPeerProviderFactory,the MulticastSocket use the real ip to broadcast,so all package is blocked, so peers can not be detected each other.
MulticastSocket have other constructors can set the host and ip,why not add some config properties to let me decide which ip to use?
for example properties="peerDiscovery=automatic,multicastGroupAddress=230.0.0.1,multicastGroupPort=4444,multicastAddress=192.168.0.2"
public MulticastSocket(String host,int port) throws IOException {
this(new InetSocketAddress(host,port));
}
------------------------------------------------------------------------------
_______________________________________________
ehcache-list mailing list
ehcache-list@...
https://lists.sourceforge.net/lists/listinfo/ehcache-list