Title: Wrong IP Detection
Last modified: January 8, 2023

---

# Wrong IP Detection

 *  Resolved [jopoo](https://wordpress.org/support/users/jopoo/)
 * (@jopoo)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/wrong-ip-detection/)
 * Hi,
   I am getting this error after scanning my site:
 * Unable to accurately detect IPs Type: IP Detection
 * I have tried the dashboard>Global options>general Wordfence options>How does 
   Wordfence get IPs option but none of the options is detecting my correct IP address.
   What else do I need to do?
    -  This topic was modified 3 years, 5 months ago by [jopoo](https://wordpress.org/support/users/jopoo/).

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

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/wrong-ip-detection/#post-16354429)
 * Hi [@jopoo](https://wordpress.org/support/users/jopoo/), thanks for your question.
 * Usually we find one of the options works to find the correct IP. There could 
   be some extra configuration for it to detect properly on some sites, but in rarer
   cases the host isn’t sending the correct visitor IP to the site at all.
 * It might be best to send over a diagnostic report to **wftest @ wordfence . com**
   using the link at the top of the **Wordfence > Tools > Diagnostics** page. Then
   click on **“Send Report by Email”**. Please add your forum username where indicated
   and _respond here after you have sent it._
 * **NOTE:** It should look as follows – Screenshot of [Tools > Diagnostic > Send by Email](https://www.wordfence.com/wp-content/uploads/2021/09/diagnosticsendbyemail.png)
 * Thanks,
   Peter.
 *  Thread Starter [jopoo](https://wordpress.org/support/users/jopoo/)
 * (@jopoo)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/wrong-ip-detection/#post-16356114)
 * Hi,
 * I have sent it as requested.
 * Thanks
 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wrong-ip-detection/#post-16448544)
 * Hi [@jopoo](https://wordpress.org/support/users/jopoo/), thank-you for sending
   that over.
 * It does look like ALL IPs being sent to `REMOTE_ADDR`, `X-Real-IP` and `X-Forwarded-
   For` are the same Amazon AWS datacenter IP. Whilst these don’t seem to clash 
   with the IP(s) used by your server, it seems like this could be related to your
   hosting environment rather than your visitor IP. I would contact your host if
   you haven’t already to see whether a valid visitor IP can be sent through to 
   any of these values otherwise you may continue to experience unwanted blocks 
   for everybody when the intention was to only block one.
 * Thanks,
   Peter.

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

The topic ‘Wrong IP Detection’ 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: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/wrong-ip-detection/#post-16448544)
 * Status: resolved