tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric J. Pinnell" <e...@iCky.org>
Subject RE: Tomcat not working behind a NAT?
Date Fri, 25 Jul 2003 23:49:11 GMT
> My question is, is that forward call a full http request? If so, what ip
> address will it use? I "think" that it is trying to use the 3.3.3.3 address
> and the NAT doesn't like it.


Well ya.  That's kinda what I've been saying.  Don't hardwire the IP.  So
instead of using an IP use a hostname.  For example www.myapp.com =
3.3.3.3 on the external DNS.

Then on your Tomcat systems host file (or internal DNS) put

2.2.2.2		www.myapp.com

So when/if Tomcat need to use the URL for some reason when it goes to
resolve the IP it gets the correct internal IP number.

-e

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message