Edit your server.xml.   Find the Connector element for port 80.  Copy the 
Connector element and paste it.  Change the port in the pasted one to 8080.  
Restart Tomcat.  No iptables needed.

> -----Original Message-----
> From: Tony Chamberlain [mailto:[EMAIL PROTECTED]
> Sent: 31 January 2008 17:07
> To: Tomcat Users List
> Subject: Re: port
>
> I can't figure out the iptable commands to do it.
>
> On Thu, Jan 31, 2008 at 9:45 AM, Peter Crowther
> <[EMAIL PROTECTED]>
> wrote:
>
> > > From: Tony Chamberlain [mailto:[EMAIL PROTECTED]
> > > We had tomcat running on port 8080 (which is default).
> > > Since some people block that port we moved it to the
> > > http port 80.  Now some places that are expecting it on 8080
> > > can't find it anymore.
> > >
> > > Anyway to have it run on both?  Maybe forward from 8080 to 80?
> >
> > Two Connectors - one on each port - should do the job.
> >
> >                - Peter
> >
> >
> ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to