Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Owdy Posted June 24, 2015 Posted June 24, 2015 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.
Owdy Posted June 24, 2015 Author Posted June 24, 2015 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?
Sonya* Posted June 24, 2015 Posted June 24, 2015 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.
Owdy Posted June 24, 2015 Author Posted June 24, 2015 They are using that same ip in "Users online" list.
AutoItScript Posted June 24, 2015 Posted June 24, 2015 In the ACP search for Security settings and try enabling this:Trust IP addresses provided by proxies?
IveLeft... Posted June 24, 2015 Posted June 24, 2015 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
Owdy Posted June 24, 2015 Author Posted June 24, 2015 TrySystem > Security > Security SettingsTick the box Trust IP Address's used by Proxies Bingo!!! Thanks =)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.