Chapter 19 Configuring Cache Cluster Discovery : Discovery When Hosts Have Multiple Network Cards

Discovery When Hosts Have Multiple Network Cards
If a host machine has multiple network cards, you must specify which IP address and port to bind to. To do this you use localhost and localport properties. Add the localhost and localport settings to the property files of all nodes in the cluster that have multiple network cards.
Do this whether you are using multicast or well-known-addresses to define the cache cluster.
java.property.tangosol.coherence.localhost
You can generally set the value of the localhost property to the value "localhost." However, if localhost is used as the loop back address (127.0.0.1) you must enter a machine name or IP address.
java.property.tangosol.coherence.localport
Note  If a specified port is not available, the object management layer (by default) increments the port number until it finds an available port. Avoid potential conflicts by choosing a number that is not close to a port used by other software. For example, TIBCO Administrator uses port 8080 by default, so it’s a good idea to set the localport property to a higher value, such as 8090.
Alternatively you can turn off the auto-incrementing feature. To turn off auto-incrementing, set the value of the following override option to false: