This project is archived and is in readonly mode.
request.remote_ip return same ip for all clients
-
Francesc Esplugas
I use
request.env['REMOTE_ADDR']to achieve this. Hope that helps. -
Carl Lerche
- State changed from new to hold
I'm sorry, but there isn't enough information for us to figure out what is going on.
Could you provide in detail everything that changed between when everything worked and everything did not work. Could you also provide a failing test against 2-3-stable that illustrates the bug. This would allow us to perform a bisect and understand the problem better.
-
Robin Wunderlin
I can provied you with the environment varaibles of my rails application:
84.253.XXX.XXXREMOTE_ADDR 217.150.XXX.XXX
SERVER_NAME 217.150.XXX.XXXrequest.remote_ip return 217.150.XXX.XXX.
But the address i want HTTP_X_FORWARDED_FOR