Is this a client-side proxy, or a server-side proxy? If the former, then that information is most likely not available. If the latter, then there may be a custom request header (something like "X-Forwarded-For") into which the proxy puts the IP address. That's what an Apache would do that sits in front of a Tomcat.
Joined: May 06, 2010
Its a client side Proxy.
I appended the code
and i was able to fetch the IP of the client local machine behind proxy.