tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Plautz <j...@customcall.com>
Subject Re: port number
Date Wed, 13 Apr 2005 15:26:53 GMT
No, they're not both listening on port 80, Apache is listening on port 
80 and forwards requests to tomcat as needed.

Joe

Magnotta, Salvatore wrote:
> So then it is possible to have both on port 80?  "G" says no way...
> --------------------------------------------
> 
> No that's not possible.
> 
> Only one server for one port...
> 
> You could try to forward incomming connections from apache to tomcat. For
> that there is a plug in on tomcats web site... 
> 
> G 
> 
> -----Original Message-----
> From: Peter Crowther [mailto:Peter.Crowther@melandra.com]
> Sent: Wednesday, April 13, 2005 11:10 AM
> To: Tomcat Users List
> Subject: RE: port number
> 
> 
> 
>>From: t.n.a. [mailto:tna@sharanet.org] 
>>I host applications on a machine where both apache and tomcat are 
>>running. I access apache at port 80 and tomcat at 8080. Is it 
>>possible 
>>(using the tomcat apache connection, or some other way) to 
>>access both at port 80?
> 
> 
> Yes, but you'll have to decide under which part of your Apache site
> you'll show your Tomcat pages.  The trick is to install mod_jk to
> connect from Apache to Tomcat (and make sure you've got a JK connector
> enabled in Tomcat).  Then you can map part or all of the Tomcat URL
> space into a virtual directory under Apache.  JK is independent of
> Tomcat's HTTP connector so, if you wish, you can even remove Tomcat's
> connector on port 8080 once you've done this - the Apache <=> JK <=>
> Tomcat route becomes the only route through which you can access Tomcat.
> 
> 		- Peter
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> .
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message