Depends whether the Router is set up to do NAT or not.  If the Router is
NATing, you will get the address at the Router, if it's not you'll get the
address of the machine.
  (*Chris*)

----- Original Message -----
From: "randie ursal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 15, 2002 7:06 PM
Subject: [SERVLET-INTEREST] about getRemoteHost()


> hi,
>
>     i want some idea on this.
>
>     i have a setup where my WebServer is separated by a Router from a
User.
>     when the user access the webserver it has to pass through the
> router, so my
>     question is what would be return by the method getRemoteHost()?
>
>     is it the IP address of the Router or the User Workstation?
>
> thanks a lot.
>   randie
>
>
___________________________________________________________________________
> 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

Reply via email to