It sounds like all you want is
request.getRemoteAddr()/request.getRemoteHost(). These give you the
IP/DNS-name of the client's box. All of this is taken from the Socket
(since there really isn't any other way to get at it).
If you need to get the IP on your machine that they connected to, then y
Hi There,
I am not too sure if you are actually able to do this but I have a need to
get the IP address/hostname of the client that has accessed a page in our
web application.
This is mainly for security/auditing purposes, however I really need to get
the client Socket connection and not