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 , but I am getting 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?