I installed jetty on an ubuntu 11 machine by
sudo apt-get install jetty
afterwards I configured the context, the war file and the NO_START variable. All works OK when I test it on the same machine, e.g.
curl http://localhost:8080/
However, when I try to connect from an external machine, it just doesn't answer. I tried this both on a virtual machine on a Win 7 host, and on Amazon EC2.
thanks,
In EC2 realm, the default open port is usually 80. You need to go to your EC2 console, see the SecurityGroup associated with the machine, and add the port
8080
open for whole word i.e.0.0.0.0/0
. And you should be all set.Make sure this is not an firewall issue. Maybe 8080 port is closed by firewall.
Also try add line into file /etc/default/jetty :
See similar question