The JBoss Data Grid server by default binds its listening ports to a loopback address (<literal>127.0.0.1</literal>). The <literal>-b</literal> switch can be used to modify the address on which to bind the public interface. However, since the JBoss Data Grid endpoints are bound to the management interface for security reasons, the <literal>-b</literal> switch does not affect them. The user should modify the <filename>standalone.xml</filename> configuration file to place the endpoints on the public interface:
<![CDATA[<socket-binding name="hotrod" interface="public" port="11222"/>]]>
After the above modification, the <literal>-b</literal> switch will determine the network address on which the hot rod port will be bound.