Title: Blocking issues
Last modified: March 19, 2019

---

# Blocking issues

 *  Resolved [darko22](https://wordpress.org/support/users/darko22/)
 * (@darko22)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/blocking-issues/)
 * Dear support,
 * We do have an issue. The plugin locked out a user from signing in (check email
   below).
    Furthermore, when We tried to login to unlock the user, we saw a page
   saying that we were temporarily locked out as well. We found a workaround but
   this is not how it should work. Why did we get locked out ( we do have different
   ip address).
 * Can you please advise? Any help would be much appreciated.
 * We received an email saying that:
    User IP: xxx.xx.x83.67 User hostname: ec2-
   xxx-xx-x83-67.eu-west-1.compute.amazonaws.com User location: Dublin, Ireland
 * The image below shows all users to have the same ip address which that is not
   true
 * > [View post on imgur.com](https://imgur.com/a/nAYsE65)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/blocking-issues/#post-11330584)
 * Hi [@darko22](https://wordpress.org/support/users/darko22/),
 * Can you go into Wordfence -> All Options, and see what `How does Wordfence get
   IPs` is set as?
 * What do you see for the detected IP?
    For example: [https://i.imgur.com/QABWqS5.png](https://i.imgur.com/QABWqS5.png)
 * Dave
 *  Thread Starter [darko22](https://wordpress.org/support/users/darko22/)
 * (@darko22)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/blocking-issues/#post-11333422)
 * **Let Wordfence use the most secure method to get visitor IP addresses. Prevents
   spoofing and works with most sites. (Recommended)**
 * This is what I have selected
    the ip i am getting is the same.
 * > [View post on imgur.com](https://imgur.com/a/1xBqbWt)
 * if i use the **X-forwarded…**
    i get the correct IP address. Shall i use that
   one?
 * > [View post on imgur.com](https://imgur.com/a/Dugs73K)
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/blocking-issues/#post-11438264)
 * Hi again,
 * I’m thinking that your server is behind a proxy or CDN, so you must use a different
   method of obtaining the IP address.
 * In your case, using X-forwarded returns the correct IP address, so use that one
   and it should stop locking out innocent users from logging in.
 * Dave

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Blocking issues’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [wfdave](https://wordpress.org/support/users/wfdave/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/blocking-issues/#post-11438264)
 * Status: resolved