BigMemory 4.3.9 | Product Documentation | BigMemory Max Administrator Guide | Configuring the Terracotta Server Array | Binding Ports to Interfaces
 
Binding Ports to Interfaces
Normally, the ports you specify for a server in the Terracotta configuration are bound to the interface associated with the host specified for that server. For example, if the server is configured with the IP address "12.345.678.8" (or a hostname with that address), the server's ports are bound to that same interface:
<server host="12.345.678.8" name="Server1">
...
<tsa-port>9510</tsa-port>
<jmx-port>9520</jmx-port>
<tsa-group-port>9530</tsa-group-port>
<management-port>9540</management-port>
</server>
However, in certain situations it may be necessary to specify a different interface for one or more of a server's ports. This is done using the bind attribute, which allows you bind a port to a different interface. For example, a JMX client may only be able connect to a certain interface on a host. The following configuration shows a JMX port bound to an interface different than the host's:
<server host="12.345.678.8" name="Server1">
...
<tsa-port>9510</tsa-port>
<jmx-port bind="12.345.678.9">9520</jmx-port>
<tsa-group-port>9530</tsa-group-port>
<management-port>9540</management-port>
</server>