[jboss-user] [Beginner's Corner] - Re: Configuring JBoss server address

Tan Mariani do-not-reply at jboss.com
Thu Apr 26 21:09:04 EDT 2012

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

"Re: Configuring JBoss server address"

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

I dont really understand what you mean....

As far as I know you can bind jboss to ip address in 3 ways : (I assume you use standalone)

1. run standalone with parameter -b ipadress
./standalone.sh -b

2. change your standalone.xml
    <interface name="management">
        <!--<inet-address value="${jboss.bind.address.management:}"/>-->
        <inet-address value=""/>
    <interface name="public">
        <!--<inet-address value="${jboss.bind.address:}"/>-->
        <inet-address value=""/>
but this way is not to recommended

3. add following lines in the configuration file in bin/standalone.conf property file
JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address.management="
JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address="

When you run standalone, there should be a line like the following on the console. What IP address is given on your output?

07:24:53,491 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http--

Hope this can help you....

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/20120426/005dbafa/attachment.html 

More information about the jboss-user mailing list