tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: Tomcat not working behind a NAT?
Date Thu, 24 Jul 2003 20:19:21 GMT

Sorry, I'm on crack.  Tomcat will see the actual client IP address for 
the request.

John

John Turner wrote:

> 
> That isn't how NAT works.  Tomcat doesn't know anything about the 204.* 
> address if the router is doing the NAT properly.  The address Tomcat 
> will see for the request is the router's internal Ip address.
> 
> John
> 
> Erin Dalzell wrote:
> 
>> Ah yes, but I think tomcat does "know" what address was used to 
>> connect to
>> it. If I connect to tomcat via 204.1.1.1, doesn't tomcat then think that
>> that is its ip address and when it tries to open an IP connection to 
>> itself,
>> it uses that IP address? If that were the case, then when it tried to 
>> make
>> the connection it would fail as the NAT doesn't like connections that 
>> go out
>> and then back in.
>>
>> That make any sense?
>>



---------------------------------------------------------------------
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