Subject: Re: [SERVLET-INTEREST] about getRemoteHost()
> NO MORE GARBIGE MAIL, PLS
>
> -Original Message-
> From: Chris Pratt [mailto:[EMAIL PROTECTED]]
> Sent: 16. lokakuuta 2002 5:33
> To: [EMAIL PROTECTED]
> Subject: Re: about getRemoteHost()
>
>
> Depend
NO MORE GARBIGE MAIL
THANKS
-Original Message-
From: ÄYour Full NameÅ [mailto:[EMAIL PROTECTED]]
Sent: 16. lokakuuta 2002 7:34
To: [EMAIL PROTECTED]
Subject: Re: about getRemoteHost()
NO MORE GARBIGE MAIL, PLS
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED
NO MORE GARBIGE MAIL, PLS
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]]
Sent: 16. lokakuuta 2002 5:33
To: [EMAIL PROTECTED]
Subject: Re: about getRemoteHost()
Depends whether the Router is set up to do NAT or not. If the Router is
NATing, you will get the address at
AIL 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
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 Route
> -Original Message-
> From: randie ursal [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 6:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: about getRemoteHost
>
>
> i want the clients hostname...not server hostname.
>
> but getRemoteHost return
PROTECTED]]
Sent: Thursday, September 05, 2002 6:48 PM
To: SERVLET-INTEREST
Cc: urandie
Subject: Re: about getRemoteHost
i want the clients hostname...not server hostname.
but getRemoteHost returns IP address of client not its dns hostname.
why is this?
Emmanuel Eze wrote:
>use getServerName()
me() if u want the server's ip address
> >
> >-Original Message-
> >From: randie ursal [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, September 05, 2002 2:54 PM
> >To: [EMAIL PROTECTED]
> >Subject: about getRemoteHost
> >
> >
> >hi,
> >
try InetAddress.getByName(request.getRemoteAddr()).getHostName()
Emma
-Original Message-
From: randie ursal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 3:18 PM
To: [EMAIL PROTECTED]
Subject: Re: about getRemoteHost
i want the clients hostname...not server hostname
PROTECTED]]
>Sent: Thursday, September 05, 2002 2:54 PM
>To: [EMAIL PROTECTED]
>Subject: about getRemoteHost
>
>
>hi,
>
>sorry for this newbie question...
>
>why is getRemoteHost() of HttpServletRequest return the
>IP address of the client access
use getServerName() if u want the server's ip address
-Original Message-
From: randie ursal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 2:54 PM
To: [EMAIL PROTECTED]
Subject: about getRemoteHost
hi,
sorry for this newbie question...
why is getRemot
hi,
sorry for this newbie question...
why is getRemoteHost() of HttpServletRequest return the
IP address of the client accessing my servlet and not the machine
assign dns hostname?
thanks
randie
___
12 matches
Mail list logo