Having different apps (contexts) on different ports

2011-11-15 Thread Mario Splivalo
Can I have several Tomcat contexts on different ports? I need to have manager app listening only on 8080, and all the other apps on 80. Is something like that possible, within one Tomcat Service? Or, if I fire up two services (under same server), each with its own set of connectors, is manager

Re: Having different apps (contexts) on different ports

2011-11-15 Thread Mario Splivalo
On 11/15/2011 09:01 AM, Mario Splivalo wrote: Can I have several Tomcat contexts on different ports? I need to have manager app listening only on 8080, and all the other apps on 80. Is something like that possible, within one Tomcat Service? Or, if I fire up two services (under same

Re: Having different apps (contexts) on different ports

2011-11-15 Thread Pid
On 15/11/2011 08:01, Mario Splivalo wrote: Can I have several Tomcat contexts on different ports? I need to have manager app listening only on 8080, and all the other apps on 80. Is something like that possible, within one Tomcat Service? You can have more than one Connector. You can't

Re: Having different apps (contexts) on different ports

2011-11-15 Thread Tim Watts
On Tue, 2011-11-15 at 11:38 +, Pid wrote: On 15/11/2011 08:01, Mario Splivalo wrote: Can I have several Tomcat contexts on different ports? I need to have manager app listening only on 8080, and all the other apps on 80. Is something like that possible, within one Tomcat Service?

Re: Having different apps (contexts) on different ports

2011-11-15 Thread Tim Watts
On Tue, 2011-11-15 at 10:16 -0500, Tim Watts wrote: On Tue, 2011-11-15 at 11:38 +, Pid wrote: On 15/11/2011 08:01, Mario Splivalo wrote: Can I have several Tomcat contexts on different ports? I need to have manager app listening only on 8080, and all the other apps on 80. Is

Re: Having different apps (contexts) on different ports

2011-11-15 Thread Mario Splivalo
On 11/15/2011 06:56 PM, Tim Watts wrote: Perhaps an alternative that may work good enough would be to bind 8080 to localhost and 80 to a public IP address. Or, similarly, if the machined is multi-homed bind each port to different addresses. Presumably, you'd want the 8080 address to be on an