Unable to connect from my webbrowser to my Jetty Server running on Ubuntu Linux SMP in Amazon Webservices EC2.
I can connect using localhost whilst logged in from the machine itself
i.e curl http://localhost:8080/?type=release\&query=reid:1
works
Because this is an Amazon EC2 instance it has both a private and a public ip, when I start jetty it says
* Starting Jetty servlet engine, jetty8
* Jetty servlet engine started, reachable on http://ip-172-31-16-219:8080/. jetty8
But ip-172-31-16-219 relates to my private address not my public address, however from the computer itself using the dns for the private ipaddress still fails
curl http://ip-172-31-16-219.eu-west-1.compute.internal:8080/?type=release\&query=reid:1
I have read that the problem might be iptables firewall, but iptables does is not a known command on this instance (maybe not used by ubuntu)
For testing purposes I have configured the Amazon security group it uses to allow full inbound and outbound
What else do I need to do ?