6.5. Set an IP Address to Run Red Hat JBoss Data Grid

For production use, the Red Hat JBoss Data Grid server must be bound to a specified IP address rather than to 127.0.0.1/localhost. Use the -b parameter with the script to specify an IP address.
For standalone mode, set the IP address as follows:
$JDG_HOME/bin/standalone.sh -b ${IP_ADDRESS}
For clustered mode, set the IP address as follows:
$JDG_HOME/bin/clustered.sh -b ${IP_ADDRESS}