cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nacho Jimenez <nacho.jime...@gmail.com>
Subject Re: get-remote-address - get-remote-host
Date Tue, 26 Apr 2005 17:10:27 GMT
Also, if you're using a local proxy (as descibed in
http://wiki.apache.org/cocoon/ApacheModProxy)  you'll get the proxy's
IP, not the remote user.


2005/4/26, André Thénot <andre-lists@thenot.org>:

> On Apr 26, 2005, at 4:52, beyanet.com wrote:
> 
> >> Hi,
> >> Try this:
> >> var clientIp =  cocoon.request.getRemoteAddr();
> >
> > Hi Tony,
> > I tried the above code you mentioned but it only ever seems to return
> > 127.0.0.1 which is no ones IP address!
> >
> > Is this function working properly as it does say that it returns the
> > IP address of the requesting client?
> 
> Is your web browser running on the same machine as Cocoon? If so, this
> is normal.
> 
> A.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message