webalgotrader-blog-posts

Find Your Public IP Address

Here are the steps involved to find out the public IP address of your computer:

  1. Use a website. There are many websites that can show you your public IP address. Simply visit one of these websites and you can find your IP address. For example, WebAlgoTrader, WhatsMyIP etc.
  2. Use the command prompt. If you are using a Windows computer, you can use the command prompt to find your public IP address. Open the command prompt and type “ipconfig”. As you hit enter, your public IP address will be available under the “IPv4 Address” heading.
  3. Use the router’s configuration page. If you have access to your router’s configuration page, you can find your public IP address there. The location of the IP address will vary depending on the router, but it is usually under the “WAN” or “Internet” settings.
  4. On a Linux Terminal. Open a terminal window, using Ctrl + Alt + T. Type the following command:

curl ifconfig.me

You will be able to see your public IP address in the next line.

You can also use the curl command to find your public IP address from a website. To do this, type the following command:

curl <website_address>

For example, to find your public IP address from the website ifconfig.me, you would type the following command:

curl ifconfig.me

Your public IP address will be displayed.

Here are some additional tips for finding your public IP address on Linux terminal using curl:

  • You can use the -4 or -6 option to specify whether you want to find your IPv4 or IPv6 address.
  • You can use the -s option to suppress output.
  • You can use the -o option to specify a file to write the output to.

Once you have found your public IP address, you can use it for a variety of purposes. For example, you can use it to check your internet connection, to find your location, or to block unwanted traffic.

Here are some additional tips for checking the public IP address of an user’s computer:

  • If you are using a proxy server or a VPN, your public IP address may be different from the IP address of your computer.
  • If you are using a mobile device, your public IP address may change depending on your location.
  • If you are having trouble finding your public IP address, you can contact your internet service provider for assistance.

Geographical location of a device.

And once you have found the public IP address of any device, you may be interested to see, where it is assumed to be physically located, by the internet. It’s quite interesting to see the results. Please visit our article listing out the procedure to find geographical location of any internet connected device.

Linux tip

I hope that the above post will help you, when you are really engrossed in your work and you need a quick reference. Also in case you need to understand how to run programs on Linux terminal even after logging out of the system, you may like to learn how to use TMUX, at this blog post.

Share with:



Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *