IMHO, in most cases this should be irrelevant as IPs behind the proxies may be
intranet addresses,
ie. 192.168.x.x, and you can't communicate with them directly anyway
--andriux
#YANG YUE XIANG# wrote:
> How about getRemoteUser()..
>
> Regards
> yuexiang
>
> -----Original Message-----
> From: Juraj Kazda [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 30, 1999 6:50 PM
> To: [EMAIL PROTECTED]
> 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
--
Andrius Juozapaitis
Programmer, No Magic
Kaunas, Lithuania
Cell: +370-8534598
WWW: <http://www.nomagic.com>
___________________________________________________________________________
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