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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to