How to get IP address in Cmd - Full step process for Windows and Mac OS


Home > How To > How to get IP address in Cmd - Full step process for Windows and Mac OS

Posted by Lofi X Hacking Team


In this article we will learn about How to check our Computer's IP address.

As we know, An IP (Internet Protocol) address is a unique address that identifies a device on the internet or a local nework which you are connected. This number is very helpful in troubleshooting connection issues. You may be asked to supply the address during a troubleshooting session. The internet needs a way to differentiate between different computers, routers, and websites. It provide's a way of doing so and form an essential part of how the internet works.


how to get ip address in cmd


How to get Ip address in Windows ?


Step 1 :-

Click on your Start Menu and type cmd in the search box and press enter.


Step 2 :-

A black and white window will open where you will type the below command and press enter.

ipconfig /all


Step 3 :-

Your ip address will be the IPv4 address.


how to get ip address in windows

Another method to get IP address in Windows.


1. Go to Settings
2. Network and Internet
3. Select either Wi-Fi or Ethernet
4. Select the connected network
5. Scroll down to Properties
6. Under properties, look for your IPV4 address



How to get Ip address in Mac OS ?


Step 1 :-

Open Teminal


Step 2 :-

Enter below command


For Wired Connections type

ipconfig getifaddr en1

For Wi-Fi Connections type

ipconfig getifaddr en0


Step 3 :-


Now,You can also see your public IP address in the Terminal: just type the below command and your public IP will pop up.


curl ifconfig.me


how to get ip address in mac os

Another method to get IP address in Mac OS.


1. Under the Apple menu, select System Preferences
2. Select Network usually in the 3rd row
3. Select a connected network in the left side menu
4. The IP address is displayed under Status: Connected



DISCLAIMER: This Article is for EDUCATIONAL PURPOSE only. Don't use the given information for illegal activities. Your are the only responsible for your actions!



Back to Top ↑




Follow Us



© Lofi X Hacking, 2022. All Rights Reserved.