getRomoteHost() is in SnoopServlet.
I ran it on the same setup as you and it is instant.
Try SnoopServlet and see if it takes as long.
Ralph Eddy
415-383-4924
fax) 415-383-6560
mailto:[EMAIL PROTECTED]
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's
> Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On
> Behalf Of Bruce
> Bantos
> Sent: Sunday, June 06, 1999 7:50 AM
> To: [EMAIL PROTECTED]
> Subject: getRemoteHost() takes FOREVER
>
>
> I think this must be a network names resolution problem rather than a
> servlet problem, but I thought I would see if anyone else has
> ran into it:
>
> When I call getRomoteHost(), it takes about 2 minutes for my servlet's
> doPost to be processed once I hit the submit button. If I
> comment out the
> getRemoteHost line, it takes a second. The results are
> correct once the
> thing finishes. I am running IIS 4.0, Jrun, and IE5.0 all on the same
> machine. The result of getRemoteHost is a string containing
> "DEVELP", which
> is the NT name of my machine.
>
> Does anyone know of a way to speed this up, perhaps a setting
> in NT? Thanks.
>
> -Bruce
>
> ______________________________________________________________
> _____________
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-> resources.html
>
> LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html