Avatar of shragi
shragi
Flag for India asked on

Acess Jboss from outside the server

Hi - I created a ec2 server in amazon and host my application there.
Its working I mean
http://localhost:8082/testapplication 
link is working but when I try to access this outside the environment it's not working
I tried using the IPaddress
http://11.11.111.111:8082/testapplication 
I am using Jboss 7.1.1

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

Thanks,
Web ServersAWSWeb Development

Avatar of undefined
Last Comment
shragi

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Anthony Carter

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
shragi

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

removed all 127.0.0.1 to 0.0.0.0

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

Thanks
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23