How to lookup your own IP

Martin Brinkmann
Jul 28, 2006
Updated • May 9, 2013
Security
|
0

I have created a small PHP script that looks up your IP, your browser, the referring site and the remote port. The website has no ads at all and loads pretty fast.

This may be useful for those of you who are using proxies and want to check if those proxies are spilling their IP address or not, and for users who just want to retrieve their current Internet IP address, for instance to establish direct IP connections or let your friends know that your ftp server or Teamspeak IP has changed so that they can point their programs to the right system.

The script is pretty basic, but should display your IP address which you can use for verification purposes. Sometimes, you may need your IP for other purposes, for instance when you are running a server application on your computer to communicate your IP address to other users that want to connect to the service.

The IP lookup script displays your browser's user agent as well on the page, which you can also use for verification purposes. The user agent displays the operating system that you have installed, as well as the web browser and its version.

These information are sent to each website that you connect to automatically. If you do not want someone to know which browser you use, you can use extensions or programs to edit or change the user agent to not reveal it on sites that you connect to in the web browser. The referrer is only shown if you open the site from a link, for instance this article. If you open it directly, it should show up as blank instead.

If you change a proxy or make other modifications, make sure to refresh the page so that the script can retrieve the new data and display it on the page.

Hiding your IP address

Advertisement

Previous Post: «
Next Post: «

Comments

There are no comments on this post yet, be the first one to share your thoughts!

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.