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 :
<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/ http://172.xx.xxx.xx:8080/ only
http://localhost:8080/ http://localhost:8080/
Thank you for your answers.
Regards,
Mariani
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/728473#728473]
Start a new discussion in Beginner's Corner at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]