I am a noob in Server related stuff, so bear me.
I use amazon webservices (EC2) on which I have a webapp running on jetty, which runs on port 8090. I deploy the webapp through the usual method of
java -jar start.jar
So then to access the app, I have to add a port in the URL, like this:
someIP:8090/app
But just typing someIP
in the browser takes me to a page that shows
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
which I assume is apache. I have apache, tomcat and jetty installed. What can I do so that I dont have to specify the port? Do I have to perform port-forwarding?
Thanks a lot.
Look into something like mod_jk. It will allow you to connect an Apache instance to a JAS running on a separate port. Or, you could just setup Jetty to use port 80...
The jetty guys have a pretty good page on running jetty on port 80, or using iptables to redirect traffic from port 80.