• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I configure 2 ports (8080 and 8081) for http in same Tomcat Instance ?

 
H S Kumar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I configure 2 ports (8080 and 8081) for http in same Tomcat Instance ?
 
Rob Spoor
Sheriff
Pie
Posts: 20514
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just add another Connector element to your server.xml file.
 
H S Kumar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Spoor wrote:Just add another Connector element to your server.xml file.


Please share an example that how I can add connecter in server.xml
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
H S Kumar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


It is just a theory. I am looking for an example server.xml that has two connecters for two ports and accepting HTTP requests.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic