My Oracle Support Banner

How To Pass The REMOTE_ADDR Environment Variable From OHS To The OC4J Container (Doc ID 1500670.1)

Last updated on AUGUST 20, 2019

Applies to:

Oracle HTTP Server - Version and later
Information in this document applies to any platform.


When OHS is acting as a reverse proxy to an application deployed on an OC4J Web Container, the IP address passed to the OC4J Container is the IP Address of the OHS, and not the IP Address of the actual Client.

It is possible to pass the IP Address of the actual Client to the OC4J Container using the REMOTE_ADDR environment variable.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.