req.getRemoteHost() returns number not name
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Craig_Idler
Posted On:   Monday, October 29, 2001 04:17 PM

The req.getRemoteHost() method returns the IP
address of the client machine. The enableLookups attribute is
set to true in the server.xml file. I am using Tomcat 4.0.1 in
stand-alone mode.
Any ideas why I'm not getting the real name?
Thx.

Re: req.getRemoteHost() returns number not name

Posted By:   Alex_Chaffee  
Posted On:   Saturday, November 3, 2001 08:57 PM

It's probably a DNS issue. Are you sure there is a registered name for that IP address?
About | Sitemap | Contact