Hello cd,

Attached to this mail, you will find a sample code which get the
Client IP address. You can also have a look at this page
(http://www.restlet.org/documentation/1.1/connectors) if you want to
learn about available server connectors.

best regards,
Thierry Boileau

On Feb 19, 2008 6:38 AM, code dude <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> Thanks for quick reply
>
>  >> could you tell us what kind of server connector are you using? And
> I am using http connector component.getServers().add(Protocol.HTTP, 8182);
>
>
> >> what is the client (IE, Firefox, etc.)?
>  This problem is on IE as well as FF its giving null
>
> Kevin >> Which connector and version are you using
> I am using version 1.1 i guess , which version has the above bug fixed ?? if
> not..........How do i apply the patch ??
>
> Regards,
> cd
>
>
>
>
>
> On 2/18/08, Thierry Boileau <[EMAIL PROTECTED]> wrote:
> > Hello cd,
> >
> > could you tell us what kind of server connector are you using? And
> > perhaps, what is the client (IE, Firefox, etc.)?
> >
> > best regards,
> > Thierry Boileau
> >
> > On Feb 18, 2008 9:12 AM, code dude <[EMAIL PROTECTED]> wrote:
> > > Hi All,
> > > I am trying to implement IP based authentication where a user is request
> is
> > > only allowed from particular or group of ip address ,
> > >
> > > I am trying to get user / client machine IP address thru Request object
> > >
> > > request.getClientInfo().getAddress() -> but its returning null
> > >
> > > can someone please tell me if its possible to get client ip address and
> hot
> > > to do it ??
> > >
> > > Regrads ,
> > > cd
> > >
> >
>
>

Attachment: TestCodeDude.java
Description: Binary data

Reply via email to