Oracle Weblogic Server (MOSC)

MOSC Banner

X-Forwarded-For Header to WLS Admin Server to Get the Client IP Address for Logging

WLS 10.3.2

The access.log under <domain>/servers/AdminServer/logs directory always shows the load balancer's IP as the source IP for the incoming connections. I tried to follow the steps explained in Metalink resource Doc ID 1310268.1, but no luck. As explained in https://www.ateam-oracle.com/wls-plugin-enabled, I enabled WebLogic plugin option under Domain->Configuration->Web Applications. Now, I got the WebLogic plugin option enabled under Domain->servers->AdminServer->Configuration->General as well.

I restarted the WebLogic server but I am still not able to capture the client source IP address in the server logs.

Am I missing something here? How can I resolve this issue?

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center