I need to get the IP address of the client in the JSP page. I have tried the following ways:
request.getRemoteAddr() request.getHeader(\"X_FORWARDED_FOR\") reque
Is your application server behind a load balancer, a proxy or a web server? Just an example; F5 load balancer exposes the client IP address with the "rlnclientipaddr" header:
request.getHeader("rlnclientipaddr");