Inconsistent IP addresses
-
Hello. I am developing a site on my local machine, and have your plugin installed. When I open the plugin’s “Client IP Debug Panel,” I see inconsistent IP addresses (screenshot). Here are the the results:
Detected client IP: 172.17.0.1 This IP is used for detecting the geo-information of the user. It should be the same as the real client IP below. Real client IP (detected without the plugin): Failed: error This IP is detected within the browser, so reverse proxies of the server are not affected. External Server IP: 183.89.31.54
Any ideas why ‘detected client IP’ doesn’t match ‘external server IP?’ If I Google ‘what’s my IP,’ it returns the same IP as ‘External Server IP,’ namely 183.89.31.54.
Also, just for my edification, what your plugin’s general logic in terms of determining the IP address of a user? For example, does it use the
$_SERVER
global variable as a first attempt to ascertain the IP address?Thanks.
- The topic ‘Inconsistent IP addresses’ is closed to new replies.