How to lookup your own IP - gHacks Tech News

How to lookup your own IP

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.

ip-lookup

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

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:


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

Please note that your comment may not appear immediately after you post it.