June 24, 2015 in Technical Problems
I moved servers. Now for some reason every user seems to come from same IP 10.0.0.2. What might be reason for that? Cant ban etc.
Hmmm, host says
10.0.0.2 is our cluster address. Reason for that behive might be that code uses $_SERVER["REMOTE_ADDR"] for tracking ip, wich gives wrong info in lots of times. IP tracking should use $_SERVER['HTTP_X_FORWARDED_FOR']
How do i fix this?
I had similar behavior as I have moved and used reversed proxy while waiting for DNS update. The users came to the old server (according to old DNS entry) and the old server sent them to the new one via proxy. In the stats it looked like all users came from one IP. 48 hours later DNS was updated worldwide and stats were normal again.
They are using that same ip in "Users online" list.
In the ACP search for Security settings and try enabling this:
Trust IP addresses provided by proxies?
System > Security > Security Settings
Tick the box Trust IP Address's used by Proxies
TrySystem > Security > Security SettingsTick the box Trust IP Address's used by Proxies
Bingo!!! Thanks =)
This topic is now archived and is closed to further replies.
Started 12 hours ago
Started 18 hours ago
Started 23 hours ago