JBoss Community

JBoss 7.0.2 binding to IP Address

created by Tan Mariani in Beginner's Corner - View the full discussion

Dear JBOSS User,

 

I totally new in JBOSS.

 

I setup JBOSS and want it run in standalone mode.

 

I change the standalone.xml to bind to IP adress as follows :

<interfaces>

    <interface name="management">

        <!--<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>-->

        <inet-address value="172.xx.xxx.xx"/>

    </interface>

    <interface name="public">

        <!--<inet-address value="${jboss.bind.address:127.0.0.1}"/>-->

        <inet-address value="172.xx.xxx.xx"/>

    </interface>

</interfaces>

 

 

As far as i know, this approach is not recommended.

The other way to is add following lines in the configuration file in bin/standalone.conf property file.

JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address.management=172.xx.xxx.xx"

JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address=172.xx.xxx.xx

 

I've tried the second way, modify the bin/standalone.conf but nothing happened. I cannot access http://172.xx.xxx.xx:8080/ only http://localhost:8080/

 

 

Thank you for your answers.

 

Regards,

 

 

Mariani

 

 

 


Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community