It's not a secret anymore!*
The moose likes Tomcat and the fly likes point on tomcat ports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "point on tomcat ports" Watch "point on tomcat ports" New topic
Author

point on tomcat ports

bheemi reddy
Greenhorn

Joined: Mar 28, 2009
Posts: 2


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


William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Yes


Ports are configured in your server.xml file.
bheemi reddy
Greenhorn

Joined: Mar 28, 2009
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 41574
    
  54
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: point on tomcat ports