Acess Jboss from outside the server

shragi used Ask the Experts™
Hi - I created a ec2 server in amazon and host my application there.
Its working I mean
link is working but when I try to access this outside the environment it's not working
I tried using the IPaddress 
I am using Jboss 7.1.1

so what changes should i make in jboss to make this available outside the server.

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Two things to check:

1) The EC2 firewall has been opened on the port you are running JBoss (or you are using an apache httpd proxy and open port 80).
2) That JBoss is started to listen on all NICs.  By default it only listens on  You have to start it with -b (prior to 7.x) to listen to all NICS (or specify which NIC to listen on).  For 7.0 have a look here:


Hi Anthony - I am using standalone.bat to start the server
so I updated the standalone.xml as below
        <interface name="management">
            <inet-address value="${}"/>
        <interface name="public">
            <inet-address value="${jboss.bind.address:}"/>
        <interface name="unsecure">
            <inet-address value="${jboss.bind.address.unsecure:}"/>

removed all to

coming to EC2 I edited scurity group as below
Type = All traffic
Protocol: All
port: All


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial