Check out the headers, you may find X-Forwarded-For or X-Forwarded-Proto which will be the IP you want.
On Mon, Mar 14, 2011 at 1:42 PM, Carson Gross <[email protected]> wrote: > Hello, > > I'm trying to get at the remote ip address for requests, and I'm using > the standard > > request.remote_ip > > method, but it appears that this is returning the same few IP's for > all our users. My guess is that this is the heroku load balancer at > work, but that's just a shot in the dark. > > Any suggestions or pointers? > > Cheers, > Carson > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" 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/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en.
