Hello,
I was wondering, how _does_ Tomcat figure out what my IP address is?  What if I
have two network cards and two IP address?  Does Tomcat take both?  I've been
looking through the source (3.2.1) and I've found some places where I think it
could be acquiring it, but I'm not quite sure what the call chain is.
In HttpRequestAdapter, I see
public String getRemoteAddr() {
     return socket.getInetAddress().getHostAddress();
}

I can find other classes with calls to get/setHost, get/setInetAddress
get/setRemoteAddr  Anyone out there want to give me some suggestions on either
the overall architecture or what classes I should be looking at to find my
answers?

Thank a lot,
/bill



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to