nginx - Session.RemoteAddress

If you are using nginx for load balance of your web application, always the Session.RemoteAddress it will return 127.0.0.1. If you want to get the remote address, on the nginx configuration, add the following

 proxy_set_header        X-Real-IP       $remote_addr; 

and on Xojo call

Session.Header("X-Real-IP")

If there is another way, to get guest’s IP, please inform.