You can configure tomcat to listen on multiple ports, but you cannot
restrict particular contexts to particular ports.  If you setup tomcat to
listen on ports 8080 and 8082 then all of your contexts become available on
both ports.  Using virtual hosts you can restrict particular contexts to
particular virtual hosts, but all virtual hosts are available on all ports.

That's what I found when I did some research and code archeology a little
while ago. I wanted to separate two contexts by restricting the first
context to the first port, and assigning the second context to the second
port.

-Bill

> -----Original Message-----
> From: Chris Andreou [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 11:30 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: virtual hosts on different ports
>
>
> you can create different contexts that listen on different ports
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 1:22 PM
> To: [EMAIL PROTECTED]
> Subject: virtual hosts on different ports
>
>
> Hi,
>
>  Can I configure TOMCAT virutal hosts on different ports, not ip
> addresses?
> I seen this question asked in the archives but there was no responses.
>
> Dave

Reply via email to