Try to get the Header fields and Values and look for
something useful, like x-forwardered-for .
Hope it helps
----- Original Message -----
From: Juraj Kazda <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 30, 1999 1:49 PM
Subject: [Q]: How to get IP address behind proxy?
> Hello,
>
> I have this problem:
>
> when I try to access my servlet from a HTML form, and the client is behind
a
> proxy, then in my servlet I can't get his IP address (with
> HttpServletRequest.getRemoteAddr()). The address returned by this method
is
> the address of the proxy server. Can anyone help me? How to obtain his
real
> address?
>
> Thank you.
>
> --jerry
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html