File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

point on tomcat ports

 
bheemi reddy
Greenhorn
Posts: 2
  • 0
  • 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: 13045
6
  • 0
  • 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
  • 0
  • 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
Pie
Posts: 42966
73
  • 0
  • 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