简体   繁体   中英

Running two tomcat on a single port

任何人都有一个想法,可以在具有8080端口的单台计算机上共享运行多个tomcat

AFAIK,您不能在同一端口上运行两个不同的Web服务器。

一种方法是在端口8080上设置单个Web服务器(例如Apache,但您可以选择),该服务器将基于URL的请求转发到在其他端口(例如8081或8082)上运行的相应Tomcat实例。

You cannot do this.. Leave apart tomcat, this won't work with any combination of servers. Explain your requirements better

To or more instance of an application can be listening on the same port, as far the server supports portsharing ! Any request to this adr:port will be distributed among this different instances.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM