Campbell wrote:
> Does anyone know how to trace networks hosts IP addresses obtained
> through String reqip = request.getRemoteAddr(); We want to
> identify the host server, such as sl.jps.net for 209.63.114.xxx. Any
> thoughts? Phil
As the API documentation will tell you, use getRemoteHost() instead of
getRemoteAddr(). You will need to make sure that DNS is available to
your server, and that the remote hosts you are looking up actually have
a name -- otherwise, you will get a copy of the IP address.
Craig McClanahan
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html