request.getRemoteAddr() does not return the Client IP Address
392572Dec 21 2005 — edited Dec 21 2005Hi,
Ive seen a couple of old posts on this but I havent come across the definitive solution. We have an Oracle IAS 10g (9.0.4) installation where we have a single instance running Web Cache, Http Server and a couple of OC4J containers. Very straight forward. When we call the methods request.getRemoteAddr() or request.getRemoteHost() from a Servlet we get the IP address of the IAS installation and not of the client that initiated the request. This is a big problem for us as we really need to know the IP of the caller. Any help would be greatly appreciated.
Regards,
Dara.