Community
Participate
Working Groups
Build Identifier: 8.0.0M2 On Ubuntu10.10 64 bit on an Amazon EC2 micro instance, with following ports open: SSH 22, HTTP 80, HTTP 443, after installation, Jetty runs successfully with a regular user (standard user name: ubuntu) on port 8080. I can access the server locally but not remotely. In order to see if I can access it remotely, I tried to open HTTP 8080 port on my Amazon instance by revising my security group, and "jetty.sh start" fails to start. I closed port 8080 on Amazon, now only the initial 3 ports are open, but I still cannot start Jetty on port 8080 as a regular user. However, I can start it as root using sudo, on either port 80 or 8080. Reproducible: Always
Following http://wiki.eclipse.org/Jetty/Howto/Port80 , I configured xinetd to redirect port 80 to 8080, and started Jetty successfully as a regular (non-root) user.
Only the root user can open low numbered ports like 80. You have taken the right action in following the instructions on http://wiki.eclipse.org/Jetty/Howto/Port80
I was not clear enough in the original description. The problem is that after some tweaking of my security group on Amazon EC2, I could not start Jetty on port 8080 as a regular user with "jetty.sh start" -- This should not happen. "java -jar start.jar" worked. The problem went away magically after I configured xinetd.
Sorry but I can't see anything to fix here? If you have any exceptions or errors or more detail, please reopen issue. cheers