Whats my IP tool
Public IP address
About this "Whats my IP" tool
This tool just display you publicly displayed IP address. This is not hacking or anything fancy or invasing to your privacy.
Also result IP is not 100% your real IP because it depends on your network and internet provider setup or IP address could by proxy server forwarded.
Therefore there is tested mutiple values as seen in table "Tested value". Testing is based on PHP language.
PHP server evironmental variable with IP address from which the user is viewing the current page.
Can contain the client's IP address. This IP address could be value of internal network behind the proxy server.
In this case other variables might contain the IP address.
X_FORWARDED_FOR or HTTP_X_FORWARDED_FOR
Those HTTP header fields are commonly used for identifying the origin of IP address of a client connecting to website.
This values could set by proxy server which can differ from the one in
Therefore there is checked also thouse values if exists. Which IP to use if exist depend on use case of its value and purpose.
X_FORWARDED_FOR and HTTP_X_FORWARDED_FOR are not standardized and are altered and standardized by HTTP_FORWARDED and HTTP_FORWARDED_FOR.
Other header fields
Different proxy servers may have alternative fields and therefore some of this alternatives are added to testing. (Due lack of a standardisation.)
Why is there this tool
This tool could be helpful for testing you public displying IP address. You could need this values for Analytics filtering out your requests/hits/actions. Also test your proxy server and if there are right or different values. Or just check your static IP for setups.