request.env.remote_addr is filled by the web server, not web2py. If
you have a proxy (apache + modproxy for example) it returns the
address of the proxy with is the server itself.

web2py "tries" to figure out the actual client address in
request.client

Massimo

On Jan 8, 9:41 am, voltron <[email protected]> wrote:
> I think the value returned is wrong, it should return the IP address
> of the client accessing the running instance of web2py not the server
> address on which the instance is running. Could someone else check?
--~--~---------~--~----~------------~-------~--~----~
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