• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Posts: 20897
81
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
Bartender
Posts: 11445
18
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
Boost this thread!