Thanks all .

its also because of ipv6

request.client returns ipv6 ffff only
Worked on
request.env["remote_addr"]

Thanks.

On Sun, Jan 4, 2009 at 9:01 AM, Fran <[email protected]> wrote:

>
> Was because client was running IPv6:
> ::ffff:127.0.0.1
>
> This worked:
> request.env["remote_addr"]
>
> F
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to