views:

150

answers:

3

It's not as simple as it looks.

I've been given the task to add a third tomcat to a server that already has two Tomcats working.

Problem is, this third Tomcat needs to be secure, and the port needs to be hidden. Since Tomcat 1 is currently using port 433 (secure) and Tomcat 2 is using port 80, my third tomcat is out of widely accepted non-showing ports.

How can I hide the port? Proxies? Virtual Hosts? I NEED it to be separated from the other two. Any suggestion is highly welcomed.

+1  A: 

That is how the browsers work. They assume port 80 for http unless you specify a different port. If you specify different port, then the port number must be specified in the url.

Sachin Shanbhag
A: 

One way or another you'll have to show the port number in the URL unless you can use an intermediate server such as a reverse proxy which listen to port 80 (http) or 443 (https) and forward the communication to your server at another port.

browser -> public.server.com -> private.server.com:3333

northox
+1  A: 

If you bind your new tomcat to a different domain name and IP, you can still use ports 80 and/or 443.

saille