wood burning stoves 2.0*
The moose likes Tomcat and the fly likes how to setup separate ports for web applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic

how to setup separate ports for web applications

greg dan

Joined: Sep 20, 2011
Posts: 3

Currently all my web applications are listening on the same port set in default/deploy/jbossweb-tomcat55.sar/server.xml (jboss 4)

For security reasons I have to provide separate port for each web application(now just adding a few new Connectors to server.xml so each one of web apps will be accessible on )

This is my Connector in a server.xml right now:

<Connector port="8080" address="${jboss.bind.address}"
maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"/>

Darryl Burke

Joined: May 03, 2008
Posts: 4523

greg, please CarefullyChooseOneForum. I'm locking this thread.

luck, db
There are no new questions, but there may be new answers.
It is sorta covered in the JavaRanch Style Guide.
subject: how to setup separate ports for web applications
Similar Threads
Different webapps on same instance of tomcat on different ports
two connector ports in server.xml. what it means?
how to setup separate ports for web applications
problem in starting tomcat with eclipse
SSL Redirect in Tomcat Standalone