IP address look up from the request
843842Mar 9 2009 — edited Mar 13 2009Hello,
I want to allow access to the administration part of my web application from a set of IP addresses which are specified in a properties file. I want block all other access.
How can I find out the IP address of the system via servlet. Is it possible to get it from the HttpServletRequest object.. I have tried request.getRemoteAddr(). But it returns something different
Any help would be appreciated.