aspose 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


Win a copy of Java 8 in Action this week in the Java 8 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: 12683
    
    5
Yes


Ports are configured in your server.xml file.


Java Resources at www.wbrogden.com
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: 39578
    
  27
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 - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: point on tomcat ports
 
Similar Threads
Tech Word Game
Apache tomcat and Jakarta tomcat
How to deploy a web application ?
Form Based secruity...
WA #1.....word association