Configuring Jetty to accept connections from all hosts on Ubuntu Lucid

Found it! You need: -

JETTY_HOST=0.0.0.0

to listen to other hosts. So a minimal /etc/default/jetty file includes: -

JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
NO_START=0
JETTY_HOST=0.0.0.0
JETTY_PORT=8080 

For anyone that want's to use Jetty on Ubuntu with Sun's Java JDK, these are the things that need to be changed /etc/default/jetty file:

NO_START=0    # so jetty can be started.

JETTY_HOST=0.0.0.0    # so jetty listens to all hosts.

JETTY_PORT=8999    # optionally, port on which jetty listens (in my case 8999).

JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun    # very important, your JAVA_HOME dir.

That's all what is needed to run jetty on ubuntu. (I spent an hour and realised I was missing JAVA_HOME though I do have it defined in .bashrc)