• I’m running a LAMP stack on an Azure VM for a website we host that uses this plugin. Any time I try to login as myself, (using the correct credentials) I’m told that I’ve been locked out for too many incorrect attempts. I haven’t tried to login incorrectly at all.

    When I do get back in either by renaming the plugin folder or removing the locked out accounts in the DB, I see that the site is seeing me login from the internal IP address range, and not the public IP address, even though I’m connected to WP directly through the web using a browser and no VPN.

    Is this a simple configuration change to make the plugin see the public IP address, or is this an Azure issue with our network configuration there?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WPChef

    (@wpchefgadget)

    Can you post information from the debug tab here?

    Thread Starter edwinj

    (@edwinj)

    sure thing. REMOTE_ADDR = IP0

    Could this be an apache config error instead?

    I have the same issue. It seems that this plugin does not work in Azure web app hosting by default.

    I have just found that you need to set:

    HTTP_X_FORWARDED_FOR, REMOTE_ADDR

    for the Trusted IP Origins if you are using Azure.

    • This reply was modified 1 year, 7 months ago by codyng.
    • This reply was modified 1 year, 7 months ago by codyng.
    • This reply was modified 1 year, 7 months ago by codyng.
    Plugin Author WPChef

    (@wpchefgadget)

    Yes, we confirm that the solution codyng provided will work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘admin lockout every day on Azure VM’ is closed to new replies.