Configuring a Jetty web application on a different port
        Posted  
        
            by sHz
        on Server Fault
        
        See other posts from Server Fault
        
            or by sHz
        
        
        
        Published on 2010-03-31T23:38:12Z
        Indexed on 
            2010/03/31
            23:43 UTC
        
        
        Read the original article
        Hit count: 519
        
Hi folks, I'm brand new to Jetty.
I'd like to ask if its possible to have Jetty listening on port 8080, however where specified, serve a specific web application under say /var/jetty/webapps/<appname> (default on CentOS) served on say port 10000 instead of http://localhost:8080/<appname> i.e. http://localhost:10000/ = http://localhost:8080/<appname> ?
If so, what configuration changes would be required to make this work without an additional proxy server? I've googled away, but haven't found a solution (perhaps I've missed something obvious?).
© Server Fault or respective owner