3 Replies Latest reply on Dec 29, 2011 4:13 AM by erhard

    How i will access the Jboss AS7 from other machine.

    bhaskara.ee

      In my machine Jboss AS7 running, i want to it from my neighbour system, both are in the same LAN

        • 1. Re: How i will access the Jboss AS7 from other machine.
          erhard

          If your standalone.xml looks like this:

          --------

              <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>

              </interfaces>

          --------

          start the Server with

          standalone.sh -Djboss.bind.address=0.0.0.0 -Djboss.bind.address.management=0.0.0.0

          or with your public IP-adress.

           

          Erhard

          • 2. Re: How i will access the Jboss AS7 from other machine.
            bhaskara.ee

            Hi Erhard,

            Its fine with unix box, what about windows box...?

            • 3. Re: How i will access the Jboss AS7 from other machine.
              erhard

              Use standalone.bat.

              Otherwise there is no difference. Check with netstat whether there is a listener on the public IP-address. Then you can try with "telnet ip 8080" from another box to reach the server. If you can't, you probably have a firewall that restricts access.

               

              Erhard