GeeCON Prague 2014*
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


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: 12791
    
    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: 42033
    
  64
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
 
GeeCON Prague 2014
 
subject: point on tomcat ports