• Resolved GarCard

    (@garcard)


    I’m on Cloudways, and the Jetpack Activity Log only shows IP addresses as
    127.0.0.1

    ...successfully logged in from IP Address 127.0.0.1
    or
    ...had a failed login attempt from IP Address: 127.0.0.1

    I’m not using Varnish or Cloudflare. Any ideas how to get the user’s IP to show correctly in the Activity Log?

Viewing 1 replies (of 1 total)
  • Thread Starter GarCard

    (@garcard)

    I have found that the following line in wp-config.php will make this work in Cloudways:

    $_SERVER['HTTP_X_FORWARDED_FOR'] = $_SERVER['HTTP_X_REAL_IP'];

Viewing 1 replies (of 1 total)
  • The topic ‘Activity Log shows IP of 127.0.0.1’ is closed to new replies.