• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

point on tomcat ports

 
bheemi reddy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


is it possible to give multiple port numbers to single version of tomcat server


 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes


Ports are configured in your server.xml file.
 
bheemi reddy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
William Brogden wrote:Yes


Ports are configured in your server.xml file.


using server.xml , we can change port number.

how can we give multiple port no to single tomcat server

if you dont mind send me code
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no code to write - it's a configuration change in server.xml, like William said. You'll need multiple <Connector> elements, one for each port. The details can be found in the Tomcat docs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic