WordPress.org

Forums

WP Statistics
[resolved] IP Adress includes local adress (3 posts)

  1. JorgenN
    Member
    Posted 8 months ago #

    The IP adress in Recent visitor list shows up like this:
    2014-05-27 - 85.8.47.146, 192.168
    The "192.168" from the local IP is a problem for GEO IP. Is there a setting somewhere ti fix this?

    https://wordpress.org/plugins/wp-statistics/

  2. Greg Ross
    Member
    Plugin Author

    Posted 8 months ago #

    Are you behind a proxy server?

    We pull the client IP address from one of a couple HTTP headers, in the following order:

    HTTP_CLIENT_IP
    HTTP_X_FORWARDED_FOR
    HTTP_X_FORWARDED
    HTTP_FORWARDED_FOR
    HTTP_FORWARDED
    REMOTE_ADDR

    If the proxy server is messing with one of those we may be getting an incorrect IP address from ip.

  3. Greg Ross
    Member
    Plugin Author

    Posted 8 months ago #

    Closing due to inactivity.

Reply

You must log in to post.

About this Plugin

  • WP Statistics
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic