tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chart <ccha...@hotmail.com>
Subject Re: newbie: multiple ports for same tomcat server 5.0
Date Sat, 23 Jan 2010 01:10:09 GMT

I have everything working from the first post.  Per the last update the
problem looks like I confused chuck on my original post when I thought I
stated the that IIS was running on a different box.  There are two distinct
boxes (one of the outside running IIS and one on the inside running Tomcat).  
Therefore everything that Chuck stated in the post confused me and everyone
else that has read the updates, because he thought everything was running on
one box.   I appreciate everyone help and everything is working.  


awarnier wrote:
> 
> Now here we have a case where I, the dummy on this forum, spend hours 
> creating a work of ascii art explaining clearly and precisely to the OP 
> what he needs to change, and where subsequently the two gurus manage, in 
> just a couple of posts, to totally confuse the OP.
> ttttt.
> 
> 
> (And, by the way, it appears that "SSI", mentioned by the OP in the 
> initial post, and which somewhat puzzled me too but which I decided to 
> just copy along, should in reality have been noted "IIS".  Which makes 
> it a lot clearer for everyone now.)
> 
> 
> So, Chart, bear with me.
> 
> Go back to the picture.
> 
> In the first version, there was your current configuration, with the IIS 
> server, which in all likelihood is currently listening on port 80.
> 
> In your original post, you indicated your intention of turning it off, 
> and having (internal) users access Tomcat directly on port 80.
> 
> For that, you need Tomcat to listen on port 80, which it doesn't yet do 
> currently.
> So I tried to show you what you need to do to Tomat, so that it will 
> listen on port 80 (essentially, add a <Connector>, similar to the one 
> you have for port 8082, but this new one listening on port 80).
> 
> Unfortunately, in version 2 of the picture, where I represented this 
> additional Connector, I also left in the IIS server (which also listens 
> on port 80).
> If both IIS and Tomcat are running on the same host, that does not work.
> You cannot have IIS and Tomcat both listen, at the same time, on all IP 
> addresses of the same host, and on port 80.
> There is a conflict : only one of them can be doing that at any one time.
> 
> So,
> 
> - if the IIS server is on another host than Tomcat, then it is fine, 
> there is no conflict, and what I showed in version 2 is fine.
> 
> - if the IIS server and Tomcat are on the same host, then in principle 
> only one of them can be listening on port 80.  So you have to start 
> /either/ IIS /or/ Tomcat, but not both at the same time.
> Which is OK if as you mentioned, you are going to eliminate IIS anyway.
> (If you try to start Tomcat that way while IIS is running, Tomcat will 
> not start, because it will be unable to open port 80; it is already
> taken).
> 
> IF however, IIS and Tomcat being on the same host, AND for some reason 
> you still want to leave IIS running, then there is still a way to avoid 
> the conflict. But it involves the fact that your host has at least 2 
> distinct IP addresses, and a bit more configuration.
> Which we will then explain to you if that is your case.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/newbie%3A-multiple-ports-for-same-tomcat-server-5.0-tp27262778p27282311.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message