Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying on a specified port

 
Jason Kwok
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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 Tomcat 4.1?

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!!
Thanks,
Jason
[ February 26, 2007: Message edited by: Jason Kwok ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic