You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anna Krajewska <a....@wasko.pl> on 2006/02/06 14:15:00 UTC

How to install web application only on one port (both 8080 and 8443 ports opened)

Hi 

I wonder is it possible with apache tomcat to install two web-services (axis) one on port 8080 (and only 8080) and another on 8443 (and only that)?
I have opened both porsts. Now when I install web-service it's available on both ports - how to change that without closing any of them in server.xml file?

Regards

Ania

Re: How to install web application only on one port (both 8080 and 8443 ports opened)

Posted by Christian Andersson <ca...@ofs.no>.
I had this problem also and if you need to seperate the 2 
webapplications on different ports you need to define 2 services in 
server.xml, like this.

<Server port="8005" shutdown="SHUTDOWN">
   <Service name="Catalina">
     <Connector port="8080" ... />
     <Engine name="Catalina">
       ...
     </Engine>
   </Service>
   <Service name="Catalina2">
     <Connector port="8443" ... />
     <Engine name="Catalina2">
       ...
     </Engine>
   </Service>
</Server>

/Christian Andersson

Anna Krajewska wrote:
> Hi 
> 
> I wonder is it possible with apache tomcat to install two web-services (axis) one on port 8080 (and only 8080) and another on 8443 (and only that)?
> I have opened both porsts. Now when I install web-service it's available on both ports - how to change that without closing any of them in server.xml file?
> 
> Regards
> 
> Ania

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


Re: How to install web application only on one port (both 8080 and 8443 ports opened)

Posted by Wade Chandler <hw...@yahoo.com>.
--- Anna Krajewska <a....@wasko.pl> wrote:

> Hi 
> 
> I wonder is it possible with apache tomcat to
> install two web-services (axis) one on port 8080
> (and only 8080) and another on 8443 (and only that)?
> I have opened both porsts. Now when I install
> web-service it's available on both ports - how to
> change that without closing any of them in
> server.xml file?
> 
> Regards
> 
> Ania

I may be wrong, but I think you would have to define
two separate hosts and give them different port
numbers.  Like I said...I might be wrong, but you can
try it or someone will surely correct me if I'm wrong.

Wade

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