[jboss-user] [Beginner's Corner] - JBoss 7.0.2 binding to IP Address

Tan Mariani do-not-reply at jboss.com
Thu Apr 5 05:35:05 EDT 2012

Tan Mariani [https://community.jboss.org/people/mariani] created the discussion

"JBoss 7.0.2 binding to IP Address"

To view the discussion, visit: https://community.jboss.org/message/728473#728473

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 : 
    <interface name="management">
        <!--<inet-address value="${jboss.bind.address.management:}"/>-->
        <inet-address value="172.xx.xxx.xx"/>
    <interface name="public">
        <!--<inet-address value="${jboss.bind.address:}"/>-->
        <inet-address value="172.xx.xxx.xx"/>

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/ http://172.xx.xxx.xx:8080/ only  http://localhost:8080/ http://localhost:8080/

Thank you for your answers.



Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120405/6c154173/attachment-0001.html 

More information about the jboss-user mailing list