If you are experiencing problems with your internet service or you need to configure software to work with a firewall, you may need to know your public and/or private IP address. Luckily, it’s pretty easy to find out. This wikiHow article teaches you how to find your public and private IP address on any device with expert tips from computer and tech specialist Luigi Oppido.
Quickly Find Your IP Address
The quickest and easiest way to find your local IP address on Windows is to open the Command Prompt, type "ipconfig /all," and press Enter. To find your local IP address on a Mac, open System Settings, select Network, choose your network, and click "Details." Find your public IP address by searching for "What's my IP address?" in Google.
Steps
Using Windows 11
-
Open Settings. Press Win + I to open the Settings window..
- Alternatively, you can right-click the Windows Start button and click Settings.
-
2Click Network & internet . It's in the menu on the left side of your screen.
-
3Click Advanced network settings . It’s at the bottom of the menu.
-
4Click Hardware and connection properties . You may need to scroll down. It’s below the “More settings” header.
-
5Check your IPv4 and IPv6 addresses. You’ll find them about a third of the way down the list.
- IPv4 is an older 32-bit protocol that uses a dot-decimal format (i.e., “192.168.1.1”). As such, it has a limited number of unique IP addresses. IPv6 is a newer, 128-bit protocol that uses an alphanumeric hexadecimal format format (i.e., “abcd:ef01:365e:fd00:8fba:bca7:9b7a:325”) that allows for many more unique address and more connected devices. [1] X Research source
- If the IP address is bugged or not working, try getting a new IP address by unplugging your router for 5 minutes.
Using Windows 10
-
Open Settings. Press Win + I to open the Settings window. These steps are the same for Windows 10 and 11.
- Alternatively, you can right-click the Windows Start button and click Settings.
-
Click Network & internet . It's the icon that resembles a globe.
-
3Click Wi-Fi or Ethernet . If you are connected to the internet using Wi-Fi, click Wi-Fi . If you are using a wired connection, click Ethernet .
-
4Click Advanced Settings or Network Connection . If you are using a wireless connection, click Advanced Settings . If you are using a wired connection, click Network Connection .
-
5Find your IPv4 or IPv6 here. You’ll find your IP address listed next to "IPv6 address" or "IPv4 address.” [2] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source [Image:Check a Computer IP Address Step 7 Version 2.jpg|center]]
- IPv4 is an older 32-bit protocol that uses a dot-decimal format (i.e., “192.168.1.1”). As such, it has a limited number of unique IP addresses. IPv6 is a newer, 128-bit protocol that uses an alphanumeric hexadecimal format format (i.e., “abcd:ef01:365e:fd00:8fba:bca7:9b7a:325”) that allows for many more unique address and more connected devices. [3] X Research source
- If the IP address is bugged or not working, try getting a new IP address by unplugging your router for 5 minutes.
Using Windows Command Prompt
-
Open Command Prompt. To do so, click the Windows Start menu. Then type cmd into the search bar and click Command Prompt . You can also right-click the Windows Start menu and click Command Prompt or Terminal .
- This method will help you find your local (private) IP address on Windows 10 and 11, as well as older versions like Windows 7 & 8.
- According to Oppido, using the command prompt is the easiest way to obtain your IP address on a PC.
-
Type ipconfig /all and press ↵ Enter . This command displays your IP configuration, including your local (private) IP address. [4] X Research source
-
Find your IP address. You'll see your computer's IP address next to "IPv4 Address" or “IPv6 Address” in the section for your connection.
- For example, if you have a wireless internet connection, your IP address will appear under "Wireless LAN adapter Wi-Fi" or similar.
- The IP address that appears next to "Default Gateway" is your router's IP address , which is helpful if you need to connect to your router to change your Wi-Fi password or do other administrative tasks.
- IPv4 is an older 32-bit protocol that uses a dot-decimal format (i.e., “192.168.1.1”). As such, it has a limited number of unique IP addresses. IPv6 is a newer, 128-bit protocol that uses an alphanumeric hexadecimal format (i.e., “abcd:ef01:365e:fd00:8fba:bca7:9b7a:325”) that allows for many more unique addresses and more connected devices.
Using Windows Control Panel
-
1Open the Control Panel. This works for all versions of Windows, including Windows 7 & 8. To open the Control Panel, click the Windows Start menu. Type “Control Panel” and then click Control Panel .
- On Windows 7 & 8, you can just click Control Panel in the Windows Start menu.
-
2Click Network and Internet . It’s the green text next to the icon that resembles a globe with two computer screens next to it.
-
3Click Network and Sharing Center . It’s the green text at the top of the menu.
-
4Double-click your internet connection. You may see several network adapters for Wi-Fi, Ethernet, Bluetooth, etc. Double-click the one you are currently using. The ones you are not using will have a red “x” on them.
-
5Click Details . This displays the information for your network connection.
-
6Check your IPv4 or IPv6 address. This will be your local IP address. [5] X Research source
- IPv4 is an older 32-bit protocol that uses a dot-decimal format (i.e., “192.168.1.1”). As such, it has a limited number of unique IP addresses. IPv6 is a newer, 128-bit protocol that uses an alphanumeric hexadecimal format (i.e., “abcd:ef01:365e:fd00:8fba:bca7:9b7a:325”) that allows for many more unique addresses and more connected devices.
Using Mac System Settings
-
Open your Mac's System Settings. You can get there by clicking the Apple icon at the top-left corner of the screen and selecting System Settings . [6] X Research source
- System Settings is only available on macOS Ventura and later. If you're using macOS Monterey or earlier, click the Apple menu and select System Preferences instead.
-
Click Network . On macOS Ventura and later, you'll see this in the left panel. [7] X Research source
- On earlier Mac versions, click the Network globe icon in the System Preferences window.
-
Select your network. If you're connected wirelessly, click the Wi-Fi option. Or, if using a wired connection, select your Ethernet connection. [8] X Research source
- If you're using macOS Monterey or earlier, you'll see your IP address in the panel. If you're using Wi-Fi, it'll appear under "Status: Connected." For wired, you'll see the address next to "IP Address" below the status.
-
Click Details… . If you're using macOS Monterey or earlier, you can skip this step, as you'll already see your IP address on this window. On Ventura and later, click the button near the top of the window across from the name of your connection.
-
Find your IP address. Your IP address appears next to "IPv4 Address" or "IPv6 Address" near the top of the TCP/IP tab. [9] X Research source
- Your router's IP address is just below your computer's IP address, next to "Router."
- IPv4 is an older 32-bit protocol that uses a dot-decimal format (i.e., “192.168.1.1”). As such, it has a limited number of unique IP addresses. IPv6 is a newer, 128-bit protocol that uses an alphanumeric hexadecimal format (i.e., “abcd:ef01:365e:fd00:8fba:bca7:9b7a:325”) that allows for many more unique addresses and more connected devices.
Using the Mac Terminal
-
1Open the Terminal. You can find the Terminal in the Utilities folder in your Applications folder. To open the Terminal quickly, click the magnifying glass/spotlight icon in the upper-right corner of your desktop. Search “Terminal” and click Terminal.app.
-
2Enter one of the following commands and press ↵ Enter to find your local IP address. Depending on if you are connected to Wi-Fi or have a wired connection, enter one of the following commands. This will display your local IP address:
- Wi-Fi : ipconfig getifaddr en0
- Wired : ipconfig getifaddr en1
-
3Find your public IP address. In addition to finding your local IP address, you can use the following command to find your public IP address: [10] X Research source
- Enter curl ifconfig.me and press Enter .
Using Linux
-
1Press Ctrl + Alt + T to open the Terminal. You can click the Terminal icon in your software list, or use the keyboard shortcut to open the Terminal.
- IPv4 is an older 32-bit protocol that uses a dot-decimal format (i.e., “192.168.1.1”). As such, it has a limited number of unique IP addresses. IPv6 is a newer, 128-bit protocol that uses an alphanumeric hexadecimal format (i.e., “abcd:ef01:365e:fd00:8fba:bca7:9b7a:325”) that allows for many more unique addresses and more connected devices.
-
2Type ip addr show and press ↵ Enter . This will display information related to your IP address. Check your IP address info in the section labeled “etho0.“ [11] X Research source
- You can find your IPv4 address next to “inet” or “inet address.”
- You can find your IPv6 address next to “inet6” or “ether.”
-
3Type ifconfig -a and press ↵ Enter . This is another command similar to the other. This will show you your internet connection information. Look for your connection information below the “en0” label if you are using a wireless connection or “en1” if you are using a wired connection. [12] X Research source
- You can find your IPv4 address next to “inet” or “inet address.” You can find your iPv6 address next to “inet6” or “ether.”
- To use this command, you need to have Net-tools installed. To install Net-tools, type sudo apt-get install net-tools -y and press Enter .
-
4Find your public IP address. In addition to finding your local IP address, you can use the following command to find your public IP address: [13] X Research source
- Enter curl ifconfig.me and press Enter .
Using Android
-
Open. You can tap the app icon that looks like a gear, or you can swipe down from the top of your screen to open the Quick Settings panel and tap the gear icon in the upper-right corner.
-
Tap About phone . It's at the bottom of the menu. Unless your phone is a Samsung Galaxy, you can find your local IPv4 and IPv6 address on this page. If you have a Samsung Galaxy, continue to the next step.
- You can also do this to find the IP address on Android tablets.
-
Tap Status information (Samsung only). Your IPv4 and IPv6 addresses will be listed below “IP Address.”
- IPv4 is an older 32-bit protocol that uses a dot-decimal format (i.e., “192.168.1.1”). As such, it has a limited number of unique IP addresses. IPv6 is a newer, 128-bit protocol that uses an alphanumeric hexadecimal format (i.e., “abcd:ef01:365e:fd00:8fba:bca7:9b7a:325”) that allows for many more unique addresses and more connected devices.
Using Settings on iPhone
-
Navigate to your connection. To do so, open the Settings app. Then tap your Wi-Fi connection to see more details about it.
- You can also follow along to find your IP address on an iPad.
-
Tapnext to your Wi-Fi connection. This blue circled "i" icon will tell you more information about the current connection.
-
Find your IP address information. You can find your IP address listed below the “IPv4 Address” and the “IPv6 Address” sections.
- IPv4 is an older 32-bit protocol that uses a dot-decimal format (i.e., “192.168.1.1”). As such, it has a limited number of unique IP addresses. IPv6 is a newer, 128-bit protocol that uses an alphanumeric hexadecimal format (i.e., “abcd:ef01:365e:fd00:8fba:bca7:9b7a:325”) that allows for many more unique addresses and more connected devices.
Community Q&A
-
QuestionWhen we scan documents on the copier to send to our computers, the document goes to a folder but then tells us the server cannot be found. How can I make sure it goes to my PC?Allan CramerCommunity AnswerYou would want to look into port settings on your computers to ensure the connections are correct. It's usually located in "Devices and Printers." As for ports, they are unique to your computer and the other device. If the ports are wrong, the data isn't getting transferred correctly. Think of it like trying to fit a cube in a circle hole, the cube being your data and the hole being the port to your computer.
Tips
- Use a VPN to keep your IP address secure.Thanks
Video
References
- ↑ https://www.geeksforgeeks.org/differences-between-ipv4-and-ipv6/
- ↑ https://support.microsoft.com/en-us/windows/essential-network-settings-and-tasks-in-windows-f21a9bbc-c582-55cd-35e0-73431160a1b9
- ↑ https://www.geeksforgeeks.org/differences-between-ipv4-and-ipv6/
- ↑ https://www.med.unc.edu/it/guide/operating-systems/how-do-i-find-the-host-name-ip-address-or-physical-address-of-my-machine/
- ↑ https://www.whatismyip.com/find-local-ip-address-in-windows/
- ↑ https://www.security.org/vpn/find-mac-ip-address/
- ↑ https://www.security.org/vpn/find-mac-ip-address/
- ↑ https://ask.salemstate.edu/kb/find-my-computers-ip-address
- ↑ https://networking.grok.lsu.edu/article.aspx?articleid=14834&printable=y
- ↑ https://macpaw.com/how-to/find-ip-address-on-mac
- ↑ https://www.linuxtrainingacademy.com/determine-public-ip-address-command-line-curl/
- ↑ https://www.techtarget.com/searchdatacenter/tutorial/How-to-check-an-IP-address-in-Linux
- ↑ https://opensource.com/article/18/5/how-find-ip-address-linux
- ↑ https://www.geeksforgeeks.org/difference-between-private-and-public-ip-addresses/