4 Replies Latest reply on Jun 2, 2014 1:32 PM by rhusar

    jboss.bind.address

    weberj

      How does one make Wildfly 8.1 listen on something other than localhost? to access http://myhost:8080

      -bjboss.bind.address=myhost does not work.

       

      Thx, Juergen

        • 1. Re: jboss.bind.address
          kuldeep11

          Please try -Djboss.bind.address=myhost .

           

          Thanks!

          1 of 1 people found this helpful
          • 2. Re: jboss.bind.address
            jaikiran

            It's just -b not -bjboss.bind.address. So start it using:

             

            ./standalone.sh -b myhost

            • 3. Re: jboss.bind.address
              weberj

              Thanks, -Djboss.bind.address= and -b=myhost both work.

              Unfortunately I had tried

              ./standalone.sh --debug -b=myhost

              which does not work.

              • 4. Re: Re: jboss.bind.address
                rhusar

                Also take a look at the configuration, to understand the defaults and how to change the bind address withough having to use command line options. Relevant parts are in bold:

                 

                    <interfaces>

                        <interface name="management">

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

                        </interface>

                        <interface name="public">

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

                        </interface>

                        <!-- TODO - only show this if the jacorb subsystem is added  -->

                        <interface name="unsecure">

                            <!--

                              ~  Used for IIOP sockets in the standard configuration.

                              ~                  To secure JacORB you need to setup SSL

                              -->

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

                        </interface>

                    </interfaces>

                    <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

                        <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

                        <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/>

                        <socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>

                        <socket-binding name="http" port="${jboss.http.port:8080}"/>

                        <socket-binding name="https" port="${jboss.https.port:8443}"/>

                        <socket-binding name="txn-recovery-environment" port="4712"/>

                        <socket-binding name="txn-status-manager" port="4713"/>

                        <outbound-socket-binding name="mail-smtp">

                            <remote-destination host="localhost" port="25"/>

                        </outbound-socket-binding>

                    </socket-binding-group>