1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 All users have the same IP

Discussion in 'Troubleshooting and Problems' started by DennisSkov, May 19, 2014.

  1. DennisSkov

    DennisSkov Active Member


    I just bought XenForo a couple of hours ago, and I'm all hyped about it. I did however find something weird. All users' IPs are the same. All IPs are shown as the IP of the server where my website is hosted. This is not a problem right now, as I'm still configuring XenForo, but some day it will be a small issue.

    If anyone knows why this is happening, please tell :)

    Kind regards

    I found the problem. My webhost is running a cache, and therefore REMOTE_ADDR is shown as the servers address. Adding $_SERVER['REMOTE_ADDR'] = $_SERVER["HTTP_X_FORWARDED_FOR"]; to library/config.php solved the problem :)
    Last edited: May 19, 2014
    Rebelgolfer72 likes this.

Share This Page