Why does request.env ['REMOTE_ADDR'] return two IP addresses?

When I visit my Rails 2.2 application on my remote server, I get the following value as my REMOTE_ADDR.

request.env ['REMOTE_ADDR']: "75.184.124.93, 10.194.95.79"

What guarded me, why there are two IP addresses. A quick check of my public IP address currently confirms that my IP address is 75.184.124.93.

So where is 10.194.95.79 based on?

Is there anything about how remote addresses are collected and reported in the HTTP header specification that I am missing? Is this expected normal behavior?

+5
source share
1 answer

This is definitely due to the reverse proxy.

( BigIPs Apache mod_proxy) IP- , .

, -, REMOTE_ADDR. IP-, , , - ..

+5

All Articles