4 Replies Latest reply on Nov 7, 2012 2:10 PM by muesli

    Local Access to JBoss AS7

    muesli Newbie

      Hi there everyone,

       

      I just started to dive into Jboss AS 7. I installed CentOS and Jboss AS7 on a local computer in my LAN (10.96.33.12).

      Now I want to connect to Jboss AS from another client in the same LAN (10.96.33.12).

       

      I started the AS by typing:

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

      and it started without errors.

       

      If I enter a netstat -ano at the AS-machine I get:

      tcp      0     0 0.0.0.0:8080     0.0.0.0:*     LISTEN

       

      So I should be able to type in:

      http://10.96.33.15:8080 at my client with the ip 10.96.33.12....am I right?

      But its not working...I can't get a connection. I searched for this issue and found some advise to have a look at the standalone.xml which states the following:

       

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

      <interface name="unsecure">

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

      </interface>

       

      From 10.96.33.12 I can ping 10.96.33.15 its answering but I can't open a telnetconnection via telnet 10.96.33.15 :8080 for example...

      My iptables on 10.96.33.15 (btw a debian wheezy system) looks like this:

       

      root@saturn:~# iptables -L

      Chain INPUT (policy ACCEPT)

      target     prot opt source               destination        

       

       

      Chain FORWARD (policy ACCEPT)

      target     prot opt source               destination        

       

       

      Chain OUTPUT (policy ACCEPT)

      target     prot opt source               destination    

       

       

      Can anybody help me with that one?

      Thx in advance for your help!

       

      Best regards

      muesli