I. Introduction.
In this article, I will share with you a trick, which you could use to obtain your public IP address instead of going to site like whatismyip.com or similar.
II. cURL.
cURL is free tool, which according to its original website is for transferring data with URLs. You can download it from here. It is free and open source.
III. Obtain your public IP address.
Open Command Prompt or Terminal and type:
curl https://ipinfo.io/ip
After executing this, it will return your public IPv4 address.
IV. Conclusion.
In this article, you were shown little trick, which you can use, when you have cURL installed. You can check your public IP in your favourite terminal or command prompt. cURL is useful tool, which is not big (a few MBs).
**
This article was originally posted in my blog. You can check it here and you can follow me on Twitter. Thank you!
**
Top comments (0)