Running two tomcat on one port

Anyone have an idea to share running multiple tomcats on the same machine with the same port 8080

+3


source to share


4 answers


One way would be to create a single web server on the 8080 server (like Apache, but your choice) that forwards requests based on the URL to the appropriate Tomcat instance running on a different port, like 8081 or 8082.



+3


source


AFAIK, you cannot run two different webservers on the same port.



+3


source


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

0


source


Any instance of the application can listen on the same port, since the server supports deleting ports! Any request for this adr: port will be shared among these different instances.

-1


source







All Articles