File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 12835
    
    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: 42946
    
  70
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: point on tomcat ports