In a servlet, request.getLocalAddr() will return the server's IP address.
--
Len

On 10/9/06, Daniel Blumenthal <[EMAIL PROTECTED]> wrote:
Hopefully, a pretty easy question: how do you determine the IP address of
the server a servlet is running on?
Thanks!
Daniel



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to