Hello,

I do not think destination NAT is good solution because it works on TCP
layer and knows nothing about domain names and URLs (both are application
level (http) knowledge). So you would need to use separate  IP/port  for
that and in case you have it you can bind tomcat there directly) So
application-layer forwarding proxy (nginx, squid, apache) is way to go.

Hardware cisco solutions could handle it too but I they are too big  for
such a simple task (unless you have really many users)

Ilya

>-----Original Message-----
>From: Martin Gainty [mailto:mgai...@hotmail.com]
>Sent: Friday, June 14, 2013 2:28 AM
>To: Tomcat Users List
>Subject: RE: forward request by changing the port in request url
>
>for IP Redirecting and or automatic Network Address Translations (e.g. Port
>80 redirects to Port 81)
>
>you will need a proxy server
>
>please contact supp...@cisco.com
>
>
>for product and service options
>
>
>
>Viel Gluck
>Martin
>
>
>> i have two service running under tomcat. One service is default i.e.
>> catalina on port 8080 and 8443 second service is catalina_new on port
8081
>and 8444.
>>
>> i have application abc.war deployed in webapps_new service which is
>running on port 8081. This application is not there in webapps.
>> i want if any request coming on port 8080 for application abc, it is
>> forwarded to port 8081.(same for ssl port 8443->8444) Is there any way to
do
>the same.
>>
>> Thanks
>> Anil
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to