Oracle Weblogic Server (MOSC)

MOSC Banner

How to obtain the correct Client IP?

edited Oct 30, 2020 5:39PM in Oracle Weblogic Server (MOSC) 3 commentsAnswered

Hi,


Sorry for the ask, we can not understand following step into How to obtain the correct Client IP address when a Physical Load Balancer and a Web Server Configured With Proxy Plug-in Are Between The Client And Weblogic (Doc ID 1375129.1)


Step:


  1. On Load balancer, include the following two headers: "WL-Proxy-Client-IP: [IP::client_addr]" and "X-Forwarded-For"
  2. On WebLogic Server go either at the cluster or managed server and enable option WebLogic Plug-In Enabled. This is typically located under Environment > Servers/Cluster > Configuration > General > Advanced
  3. Code a Custom ELF Logger and after packaging it into a jar file put it on $DOMAIN_HOME/lib. The code should be something like this:

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