I’m currently using request.env[‘REMOTE_HOST’] to pull back the remote
users IP address. This worked fine in development (and production) under
Webrick but when I tried to use it with mongrel, it kicked back an
error.
Is there a more appropriate way to find out the remote users IP address?
I’m currently using request.env[‘REMOTE_HOST’] to pull back the remote
users IP address. This worked fine in development (and production) under
Webrick but when I tried to use it with mongrel, it kicked back an
error.
Is there a more appropriate way to find out the remote users IP address?