A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Deploying on a specified port
Joined: Mar 31, 2005
Feb 26, 2007 11:38:00
I have two small web applications, one serves a front-end site for students and the other is the admin back-end to manage the front.
For security of the backend, my administrator wants to run the front through port 80, as usual, but wants to restrict the admin side to another port.
Is this possible with both applications running on the same machine, using
Secondly, what is needed? Do I have to do something to configure tomcat? Would it also involve something added/changed in the deployment descriptor?
Any help would be greatly appreciated!!
[ February 26, 2007: Message edited by: Jason Kwok ]
Author and all-around good cowpoke
Joined: Mar 22, 2000
Feb 27, 2007 07:30:00
If this was my problem I would experiment by adding a second <Connector element right after the one for port="80" in server.xml.
Since it would not handle many requests you could give it fewer threads etc.
Let us know what happens.
Java Resources at
I agree. Here's the link:
subject: Deploying on a specified port
a centralized application to control all websphere consoles
Getting Jakarta Tomcat to run on Port 80
Configuring admin console with tomcat 5.5
Problem while deploying Web Service on Tomcat (in netbeans)
How to change application url?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014