• On a number of sites (generally those which are on CloudWays and which use Cloudflare as a registrar), I’m seeing a strange behavior. The plugin is detecting *every* login attempt as coming from 127.0.0.1 and therefore keeps locking me out of the site.

    I’ve tried uploading a file that you’d recommended for diagnosing a similar issue:

    <?php
    
    echo 'HTTP_X_FORWARDED_FOR = ' . $_SERVER['HTTP_X_FORWARDED_FOR'] . '<br>';
    echo 'HTTP_X_SUCURI_CLIENTIP = ' . $_SERVER['HTTP_X_SUCURI_CLIENTIP'] . '<br>';
    echo 'REMOTE_ADDR = ' . $_SERVER['REMOTE_ADDR'] . '<br>';

    You can see the results of that here:
    https://elod.in/limitloginattemptsreloadedtest.php

    I’ve tried using a few different settings for the “Trusted IP Origins,” but didn’t have any luck getting a different behavior.

    If you could take a look, that would be great!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘127.0.0.1 getting locked out’ is closed to new replies.