Locking out 127.0.0.1 on Woocommerce Login Page Only
-
Hi,
I have read a number of threads in this forum about issues where the 127.0.0.1 IP address is incorrectly registered as the users IP and is locked out. I am using a Cloudflare / Cloudways setup, which uses an NGINX server.
I have configured the plugin following the advice in this forum, with “HTTP_X_REAL_IP” set in the trusted IP origins box. My debug window shows the following:
REMOTE_ADDR = IP0
HTTP_CF_CONNECTING_IP = IP0
HTTP_X_REAL_IP = IP0If I used the WordPress login page, it seems to capture the IP address correctly for a failed login attempt.
However, if I use the Woocommerce login page, which is the default on my site as I use Woocommerce memberships, it is still capturing the 127.0.0.1 IP address instead.
How do I resolve this?
Thanks!
Laurence
- The topic ‘Locking out 127.0.0.1 on Woocommerce Login Page Only’ is closed to new replies.