Jetty configuration (mis): it will not respond from an external machine ... why?

I installed a pier on an ubuntu 11 machine

sudo apt-get install jetty

after that I set up the context, the war file and the variable NO_START. Everything works fine when I test it on the same computer, for example.

curl http://localhost:8080/

However, when I try to connect from an external machine, it simply does not respond. I tried this both on a virtual machine on a Win 7 host, and on Amazon EC2.

thank,

+2
source share
2 answers

Make sure this is not a firewall issue. Perhaps port 8080 is covered by a firewall.

Also try adding a line to the / etc / default / jetty file:

JETTY_HOST=0.0.0.0

See a similar question

+7

EC2 80. EC2, . SecurityGroup, , 8080 i.e. 0.0.0.0/0. .

+1

All Articles