I've set up a 32-bit x86 Ubuntu Server 11.10 virtual machine with VirtualBox 4.1.2.

Then I've set up a SSH and LAMP services using tasksel.

Then I've set up Jetty 6 as jetty and libjetty-extra packages and configured Jetty to start up automatically by changing the autostart-blocking option from 1 to 0 and leaving all the other settings default, including the port to be 8080.

Then I've set up VirtualBox port forwarding as follows:


VBoxManage modifyvm "myvm" --natpf1 "guestssh,tcp,,10022,,22"
VBoxManage modifyvm "myvm" --natpf1 "guesthttp,tcp,,10080,,80"
VBoxManage modifyvm "myvm" --natpf1 "guesthttpx,tcp,,18080,,8080"
How to set up Jetty 6 to be accessible through a VirtualBox NAT port forwarding?

And as a result, SSH and Apache are reachable at the host machine localhost:10022 and localhost:10080 respectively, but Jetty doesn't respond on localhost:18080. But it does respond on the guest localhost:8080 - I've tested it with links2 there.

What may be the reason of the problem? How can I set up Jetty to be accessible from the outside the same way Apache and OpenSSH are?

The host system is XUbuntu 11.10 32-bit x86.

link|improve this question

38% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.