I am facing one issue. I need client IP address for keeping logs. I used request.getRemoteAddr() for capturing IP address. But I am getting some other IP address instead of exact one.
For an example my IP is 10.100.168.2 , but I am getting 10.102.107.9 like this . I checked with network team they are saying its firewall (WAF) address. How can I get actual client IP instead of WAF server address?