Your computer has two IP addresses you might need: one for your local network and one for the internet
Your local IP address is what your computer uses to talk to other devices on your home or office network — your printer, router, phone, or another computer. Your public IP address is what websites and internet services see when you connect to them. Finding either one takes less than a minute and requires no special tools.
The method depends on whether you want your local address (which starts with 192.168 or 10.0 on most home networks) or your public address (which your internet provider assigns). Most people need the local address when troubleshooting network problems or setting up a device on their network.
Key Takeaways
- Your local IP address appears in your network settings on Windows, Mac, or Linux and usually starts with 192.168 or 10.0.
- On Windows, open Settings, go to Network & Internet, then Status to see your local IP listed as "IPv4 address".
- On Mac, open System Settings, click Network, select your connection, and look for the IP address shown on the right side.
- Your public IP address (what the internet sees) can be found by visiting a website like whatismyipaddress.com or by searching "what is my IP" in any browser.
- You may see both IPv4 and IPv6 addresses; IPv4 is the older standard and the one most devices still use.
Finding your local IP address on Windows
Open the Settings app by pressing the Windows key and typing "settings", then press Enter. Click Network & Internet in the left sidebar. On the right side, click Status.
Scroll down to the section labeled IP settings. You will see "IPv4 address" followed by a series of numbers — that is your local IP address. It usually looks like 192.168.1.100 or 10.0.0.50. Write it down if you need it for setting up a device or troubleshooting.
If you prefer using the command line, you can also open Command Prompt (press Windows key, type "cmd", press Enter) and type ipconfig, then press Enter. Look for the line that says "IPv4 Address" under your active network connection.
Finding your local IP address on Mac
Click the Apple menu in the top-left corner and select System Settings. Click Network in the left sidebar. On the right side, you will see your active network connection (usually "Wi-Fi" or "Ethernet"). Click it to expand the details.
Your IP address appears on the right side of the window, labeled as "IP Address". On Mac, this is your local address on your network. If you see multiple connections listed, make sure you are looking at the one that is currently active (it will have a green dot or "Connected" label).
Finding your local IP address on Linux
Open a terminal window. Type hostname -I and press Enter. Your local IP address will appear on the next line. This works on most Linux distributions including Ubuntu, Fedora, and Debian.
If that command does not work, try ip addr show instead. Look for the line that starts with "inet" (not "inet6") under your active network interface. The address after "inet" is your local IP.
Finding your public IP address
Your public IP address is different from your local one — it is what the internet sees when you visit a website or use an online service. To find it, open any web browser and go to whatismyipaddress.com or search "what is my IP" in Google, Bing, or any search engine.
The result appears at the top of the page. Your public IP is assigned by your internet service provider and changes periodically (usually when you restart your modem or router, or after a few weeks of continuous use). Unlike your local IP, you cannot change your public IP without contacting your provider.
Understanding IPv4 versus IPv6
You may see two addresses listed: one labeled IPv4 and one labeled IPv6. IPv4 is the older standard and uses four sets of numbers separated by periods (like 192.168.1.100). IPv6 is the newer standard and uses longer addresses with letters and numbers (like 2001:0db8:85a3:0000:0000:8a2e:0370:7334).
Most home networks and devices still use IPv4, so that is the address you usually need. IPv6 is becoming more common but is not yet standard everywhere. If you are setting up a device or troubleshooting a connection, use the IPv4 address unless the device or instructions specifically ask for IPv6.
When you need your local IP address
You need your local IP address when you are setting up a printer, security camera, or other device on your home network. You also need it if you are logging into your router to change your Wi-Fi password or network settings — you would type your router's IP address (usually 192.168.1.1 or 192.168.0.1) into a browser's address bar.
If you are troubleshooting a network problem, your local IP helps you identify whether your computer is properly connected to your network. If your computer shows no IP address or shows 169.254.x.x, your network connection is not working correctly.
Frequently Asked Questions
Why do I see two different IP addresses?
One is your local IP (used on your home or office network) and one is your public IP (used on the internet). Your local IP never leaves your network. Your public IP is what websites see. You need the local one for network devices and the public one for troubleshooting internet issues.
Does my IP address change?
Your local IP address usually stays the same unless you restart your router or your computer is offline for a long time. Your public IP changes periodically — typically when you restart your modem or after several weeks of continuous use. Some internet providers let you pay for a static IP that does not change.
Is it safe to share my IP address?
Sharing your public IP is generally safe — websites already know it when you visit them. Your local IP should not be shared outside your home network. Never share your router's IP address or password with anyone you do not trust.
What if I cannot find my IP address in Settings?
Make sure you are connected to your network (Wi-Fi or Ethernet). If you see "Not connected" or no network listed, your computer is not on the network. Restart your router and try again. If you are still having trouble, restart your computer.
Can I change my IP address?
You can change your local IP address through your router settings, but most people should not do this unless they have a specific reason. Your public IP cannot be changed without contacting your internet provider. If you need a different public IP, some providers offer static IP service for an additional fee.