Is there any way to get the exact client IP of http request.
If I use X-FORWARDED-FOR
<%= request.getHeader("X-FORWARDED-FOR") %>
Then I will get the exact IP of client not proxies but again there are exceptions to this that is there are plugins available that forge the false IP's.
So My question is,
Is the X-FORWARDED-FOR
will give the exact client IP or the IP given by NAT.