Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get client IP address

843840Dec 13 2009 — edited Dec 15 2009
I need to track client IP address using jsp inside a private LAN. The client is behind a proxy server. So
request.getRemoteAddr()
gives me the proxy address. If I put the proxy settings of the client browser to 'automatic proxy', then I can get the real IP address of the client but not otherwise.
Is there any way to get the client IP address with manual proxy configuration settings on?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 12 2010
Added on Dec 13 2009
8 comments
1,203 views