Thursday, February 9, 2012

Binding jboss as7 to all interfaces

Q: I'm running JBoss AS7 in a standalone mode using ./standalone.sh. This binds JBOSS to only localhost. Is there a way to bind it to all the hosts, i mean 0.0.0.0 The older versions had -b option to pass 0.0.0.0, i cant find any options to use over here.

A: Edit standalone/configuration/standalone.xml and insert the tag any-address instead of inet-address bound to 127.0.0.1 - Sample:

Or:
<interfaces>
<interface name="management">
<inet-address value="127.0.0.1"/>
interface>
<interface name="public">
<inet-address value="0.0.0.0"/>
interface>
interfaces>
Or::

No comments:

Post a Comment