How do I expose a webapp on :8090, even though firewall allows only :80 and :22

Posted by Kaustubh P on Server Fault See other posts from Server Fault or by Kaustubh P
Published on 2010-12-29T10:35:11Z Indexed on 2010/12/29 10:55 UTC
Read the original article Hit count: 358

Filed under:
|
|

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.

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about port-forwarding