Issue
I have deployed jboss-4.2.3 on an EC2 instance. I have added appropriate rule to open port 8080 for inbound traffic. When I ssh into this instance and do curl localhost:8080, the expected response can be seen
But when I try to access it in a browser on my laptop, am unable to connect. Few other things I have tried to eliminate other possibilities
- In order to eliminate possibility of firewall issues on my laptop, have tried to connect from another instance on amazon. Doesnt work
- Also tried to configure jboss to listen to port 80. Still it can't be accessed. Apache running on port 80 however responds
Any guidance is highly appreciated
Solution
Bind your jboss to all IP addresses as below:
./run.sh -b 0.0.0.0
Answered By - slayedbylucifer