Incorrect IP from mobile device

I just started using Piwik and so far it’s great.

However, I’ve got some strange IPs in my visitor log which I cannot explain and was hoping someone here can shed some light.

Basically it looks like every time I visit the site from my Android mobile using either the standard or Dolphin browser, my IP gets recorded as which is nowhere near the real IP.

If I visit with the same browsers it comes up as

This was not using WiFi but the data connection through the mobile network.

From normal PC browsers the IPs appear to be correct.

Any ideas what’s going on there?


create a page test.php

<?php var_dump($_SERVER); ?>

then visit with your phone. copy paste here the content?


thanks for the reply.
Below’s the Dump…

At the time Piwik reported the IP as but WhatsMyIP reported

If it’s any help my mobile provider is T-Mobile in Germany.


array(50) { 
["PHPRC"]=> string(17) "/home/bluezed/etc" 
["USER"]=> string(7) "bluezed" 
["PATH"]=> string(84) "/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin" 
["PWD"]=> string(33) "/var/www/virtual/bluezed/fcgi-bin" 
["HOME"]=> string(13) "/home/bluezed" 
["SHLVL"]=> string(1) "0" 
["ORIG_SCRIPT_NAME"]=> string(26) "/fcgi-bin/php-fcgi-starter" 
["ORIG_PATH_TRANSLATED"]=> string(38) "/var/www/virtual/bluezed/html/test.php" 
["ORIG_PATH_INFO"]=> string(9) "/test.php" 
["ORIG_SCRIPT_FILENAME"]=> string(50) "/var/www/virtual/bluezed/fcgi-bin/php-fcgi-starter" 
["SCRIPT_NAME"]=> string(9) "/test.php" 
["REQUEST_URI"]=> string(9) "/test.php" 
["QUERY_STRING"]=> string(0) "" 
["REQUEST_METHOD"]=> string(3) "GET" 
["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" 
["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" 
["REDIRECT_URL"]=> string(9) "/test.php" 
["REMOTE_PORT"]=> string(5) "33875" 
["SCRIPT_FILENAME"]=> string(38) "/var/www/virtual/bluezed/html/test.php" 
["SERVER_ADMIN"]=> string(18) "" 
["DOCUMENT_ROOT"]=> string(29) "/var/www/virtual/bluezed/html" 
["REMOTE_ADDR"]=> string(13) "" 
["SERVER_PORT"]=> string(2) "80" 
["SERVER_ADDR"]=> string(14) "" 
["SERVER_NAME"]=> string(27) "" 
["SERVER_SOFTWARE"]=> string(22) "Apache/2.2.15 (CentOS)" 
["SERVER_SIGNATURE"]=> string(88) "Apache/2.2.15 (CentOS) Server at Port 80" 
["HTTP_X_FORWARDED_PORT"]=> string(2) "80" 
["HTTP_CONNECTION"]=> string(5) "close" 
["HTTP_CACHE_CONTROL"]=> string(13) "max-age=43200" 
["HTTP_HOST"]=> string(27) "" 
["HTTP_X_FORWARDED_FOR"]=> string(29) "," 
["HTTP_COOKIE"]=> string(104) "PHPSESSID=qo1m6lat7k5lqn7hgsmjaj01o0; _pk_id.1.1a79=dc7f71e4ef4c46c1.1359531912.2.1359536828.1359531964." 
["HTTP_ACCEPT_CHARSET"]=> string(34) "utf-8, iso-8859-1, utf-16, *;q=0.7" 
["HTTP_ACCEPT_LANGUAGE"]=> string(12) "de-DE, en-US" 
["HTTP_ACCEPT_ENCODING"]=> string(12) "gzip,deflate" 
["HTTP_USER_AGENT"]=> string(139) "Mozilla/5.0 (Linux; U; Android 4.1.2; de-de; GT-I9300 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30" 
["HTTP_ACCEPT"]=> string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" 
["HTTP_AUTHORIZATION"]=> string(0) "" 
["SCRIPT_URI"]=> string(43) "" 
["SCRIPT_URL"]=> string(9) "/test.php" 
["REDIRECT_STATUS"]=> string(3) "200" 
["REDIRECT_HANDLER"]=> string(9) "php-fcgid" 
["REDIRECT_SCRIPT_URI"]=> string(43) "" 
["REDIRECT_SCRIPT_URL"]=> string(9) "/test.php" 
["FCGI_ROLE"]=> string(9) "RESPONDER" 
["PHP_SELF"]=> string(9) "/test.php" 
["REQUEST_TIME_FLOAT"]=> float(1360045463.0332) 
["REQUEST_TIME"]=> int(1360045463) }

from your config.ini.php file, remove the line that has"

Cool! That worked (tu)