Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 24, 20159 yr 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.
June 24, 20159 yr Author 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?
June 24, 20159 yr 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.
June 24, 20159 yr In the ACP search for Security settings and try enabling this:Trust IP addresses provided by proxies?
June 24, 20159 yr 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.TrySystem > Security > Security SettingsTick the box Trust IP Address's used by Proxies
June 24, 20159 yr Author TrySystem > Security > Security SettingsTick the box Trust IP Address's used by Proxies Bingo!!! Thanks =)
Archived
This topic is now archived and is closed to further replies.