Dear all,
I use getHeader("X-Forwarded-For") to get the client IP of the user of my application in JBoss EAP 6.4. But, I cannot get the client IP address. Some sources said that x-forwarded-for would be used if the JBoss server is accessed through proxy or load balancer. However, when I tried this using Weblogic server, I can get the client IP address, even if I did not implement the proxy or load balancer on it. Why does this happen? Is it impossible to obtain the real client IP from JBoss EAP 6.4 user using x-forwarded-for if without implementing a proxy or load balancer? Is there a way to get the client IP address from JBoss EAP user?
Thank you