Hello!
I am developping a website with ASP.Net using the sender's IP address (in System.Web.HttpRequest.UserHostAddress) for geolocation.
When this website is called from Google Chrome on Android, a wrong IP address is sent. The geolocator resolves this address to "Europe".
Parameters sent from Android Chrome:
IP adress: 66.249.93.91
User Agent: AppleMAC-Safari, Mozilla/5.0 (Linux; Android 6.0.1; SM-A300FU Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Mobile Safari/537.36
Parameters sent from Android's (Samsung's?) built in browser:
IP address: 79.228.228.198
User Agent: AppleMAC-Safari, Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-A300FU Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/4.0 Chrome/44.0.2403.133 Mobile Safari/537.36
Some IP locators assign the first IP to "Google Inc, California, United States", some to "Google Inc., Chicago, Illinois", some to "Google Inc., Europe" (see https://www.iplocation.net/).
The second IP seems to
be correct: "Deutsche Telekom AG, Berlin, Germany".
Is this a bug in Chrome or must I go a different way to retrieve the sender's IP address?
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/6af75b94-add8-4514-9a8c-12515fbb44fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.