Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

running Apache and Tomcat together

 
Alex Kravets
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running Apache 2.0 and Tomcat 5. Right now Apache is listening to port 82 and Tomcat to port 8080. If I want both of them to listen to port 82 so that I can run application from http://localhost:82/myApp/index.jsp should where should I change the port setting in Tomcat?
thanks,
Alex
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The conf/server.xml file defines which ports Tomcat listens to.
However, you can't have two programs listening to the same port - whichever is started first gets to keep it.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic