IP Address is the identity of your computer over a local or public network. Follow this step by step guide to find out the IP address of your computer. You can find out the IPv4 as well as IPv6 address of your machine in no more than 5-10 seconds. Most of the time, when we use the term IP, we generally talk about IPv4 as IPv6 is still new, and in most of the everyday tasks of the network, we prefer to use IPv4.
Local & Public IP Addresses
You must know that there are two types of IP Addresses when you’re connecting to the Internet. One is the Local IP that represents your connected device over your local network. For example, when you’re connecting your laptop and your smartphone with a common WiFi, then both of these devices will have been assigned a unique IP address, and this IP is the local IP address. Let’s say your smartphone has got IP 192.168.1.7, and your laptop has got the IP 192.168.1.8.
But as you’re connected to the Internet over the same WiFi, both of your devices will have the same public IP address. In other words, it is the IP address using which you’re connected to all other networks over the Internet for all of your devices working under the same WiFi Router. This explanation is also enough to help you understand the difference between the public and local IP Addresses. Let’s say the public IP address of your router is 223.130.XX.XXX.
How To Find Your Public IP Address In Any Operating System
You can find your public IP address on any desktop or mobile operating system really quick. All you need is a device that is connected to the Internet and is capable of performing a Google Search.
Simply search on Google, My IP
This way, you’ll find out your public IPv4 address. Isn’t that pretty simple? I’ve performed this search on a Windows Laptop in Google Chrome Browser, but as Google Search can run on any operating system or any browser, you can similarly find out the public IP address of any of your devices with any OS installed on it.
How To Find Your Local IP Address
The process of finding a local IP Addresses on almost every other operating system is similar but not exactly the same. The steps to find out the local IP addresses of your devices running Windows, Mac OS and Linux are given below.
There are numerous ways in Windows to find out your local IP address. The simplest way is using Task Manager.
You can use the shortcut,
Ctrl + Shift + Esc to open the Task Manager Window.
In the Task Manager Window, go to the Performance Tab and then choose the device using which your computer is connected to the network. In my case, my Windows 10 Laptop is connected to the network over WiFi Adapter, so I selected the Wi-Fi option.
And here you can clearly check out the Local IPv4 as well as the IPv6 address of your computer.
Another way to find out your IP address on windows is to use the
Open the command prompt (CMD) window (Type cmd in search) and type in the
ipconfig command as shown in the following screenshot.
As soon as you’ll press enter, this command will show you the Windows IP Configuration details. Again, here you’ve to find out the adapter using which your device is connected to the Network. As I already mentioned, my laptop is connected using the Wi-Fi, so here in the above screenshot, you can see my local IPv4 as well as IPv6 address showing up under the Wireless LAN adapter Wi-Fi label.
You can use the command
ifconfig in macOS to get the IP configuration details. It is similar to using
ipconfig command on Windows. Make sure here instead of IP, it is IF.
ifconfig | grep "inet " | grep -v 127.0.0.1
You can use the above command written along with a few options to just get the local IP address of your Mac machine. This will prevent listing other additional details. Just type in this command in the Terminal window and hit enter.
- Mac also displays IP Address in the System Preferences Network Window.
- Go to System Preferences & then choose Network option.
- Now choose the adapter using which you’re connected to the network and you’ll come to know about your IP there.
The simplest command that you can use in Linux to find out your local IP is
This will simply print the IP without any additional information.
You can also use the same command as Mac OS to find out the private IP address of your device having a Linux OS installed on it.
ifconfig in the Terminal will show you all details including the IP address, but if you want to just get the IP address, type the same command as specified in the Mac OS steps.
- Git Commands Explained With Examples
- 15 Best Code Editors For Windows, Mac & Linux
- Top 10 Programming Languages
- What is Cron? All You Need To Know About Cron Jobs
I hope this guide helped you in finding the IP address of your device. If so, do share it with others who might find this guide useful as well. For any kind of questions related to this article, feel free to make use of the comments section below.
Also, mention if you know any other or even better way to find the IP address of different operating systems.
Don’t forget to subscribe to WTMatter for more such useful articles.