Feb 19th, 2008, 12:03 AM
capturing client's hostname
I'm having trouble capturing the clients hostname.
I'm trying to use the HTTPServletRequest.getRemoteHost() method to capture the clients host name. But I always get the dotted ip format which goes like "dyn220.127.116.11.xxxx.xxxx.com" where 18.104.22.168 is some ip address on the xxxx.xxxx.com domain.
is it possible to capture the clients true hostname?
FYI, the web application is run on the same LAN network as the computers that i'm trying to capture the hostname from.