it show up the host name with nslookup, but not  getRemoteHost()

Franco



-----Original Message-----
From: Chris Pratt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 11:54 AM
To: [EMAIL PROTECTED]
Subject: Re: getRemoteAddr() vs getRemoteHost()


What happens when you nslookup the address you're getting from
getRemoteAddr()?
    (*Chris*)

----- Original Message -----
From: "Miao, Franco CAWS:EX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 11:42 AM
Subject: Re: [JSP-INTEREST] getRemoteAddr() vs getRemoteHost()


> then how to let the reverse lookup working? my DNS works fine, I can
> "nslookup" any internet host with its IP. Thanks!
>
> Franco
>
>
>
> -----Original Message-----
> From: Chris Pratt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 25, 2001 11:34 AM
> To: [EMAIL PROTECTED]
> Subject: Re: getRemoteAddr() vs getRemoteHost()
>
>
> That means the reverse lookup on the address is failing so getRemoteHost
is
> returning the only piece of information it has, the address.
>     (*Chris*)
>
> ----- Original Message -----
> From: "Miao, Franco CAWS:EX" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 25, 2001 11:05 AM
> Subject: [JSP-INTEREST] getRemoteAddr() vs getRemoteHost()
>
>
> > When I put the following code in my Jsp, it comes up two identical
remote
> IP
> > addresses, instead of one remote IP and one remote host name. My
computer
> > has Internet IP and valid Internet DNS server. Any suggestion about
that?
> > Thanks!
> >
> > out.print( request.getRemoteAddr() );
> > out.print( request.getRemoteHost() );
> >
> > Franco
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://archives.java.sun.com/jsp-interest.html
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.jsp
> >  http://www.jguru.com/faq/index.jsp
> >  http://www.jspinsider.com
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to