Frequently Asked Question
Get Local IP Address
Q: How to obtain the current LAN IP address in Windows 10, Windows 11, and Windows Server 2025
To find your local LAN (internal network) IP address on Windows 10, Windows 11, or Windows Server 2025, follow the steps below. These methods are consistent across all three operating systems and use the same tools.
Method 1: Using Command Prompt (cmd)
This is the most reliable method and works on all versions of Windows.
- Open Command Prompt
- Press
Windows key + Rto open the Run dialog. - Type
cmdand pressEnter. - Alternatively, search for "Command Prompt" in the Start menu and open it.
- Run the ipconfig command
ipconfig
- In the Command Prompt window, type the following and press
Enter:
- Locate your IPv4 address
- Look for the section titled "Ethernet adapter" or "Wireless LAN adapter", depending on your connection type.
- Under this section, find the line that says "IPv4 Address".
- The value next to it is your local LAN IP address (e.g.,
192.168.1.10).
Example output:
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . : 192.168.1.10
Subnet Mask . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . : 192.168.1.1
✅ Note: If you're using Wi-Fi, look under "Wireless LAN adapter" instead.
Method 2: Using PowerShell
PowerShell provides a more structured output and is preferred for scripting.
- Open PowerShell
- Press
Windows key + Xand select "Windows PowerShell" or "Windows Terminal" (if installed). - Alternatively, search for "PowerShell" in the Start menu and open it.
- Run the following command
Type the following and press Enter:
ipconfig | findstr "IPv4"
This will return only the IPv4 address lines, making it easier to read.
Example output:
IPv4 Address. . . . . . . . . . : 192.168.1.10
???? Tip: If you want to see all network interfaces, use: ``powershell ipconfig ``
Method 3: Using Settings App (GUI)
You can also find your IP address via the graphical interface.
- Open Settings
- Press
Windows key + Ito open the Settings app.
- Go to Network & Internet
- Click on "Network & Internet".
- Select your connection
- Click on "Wi-Fi" (if using wireless) or "Ethernet" (if using a wired connection).
- View IP address
- Scroll down to the "Properties" section.
- Look for "IPv4 address" under the network details.
- The value shown is your local LAN IP address.
Method 4: Using Control Panel (Legacy Method)
This method is still valid on older systems or where the modern UI is not preferred.
- Open Control Panel
- Press
Windows key + R, typecontrol, and pressEnter.
- Navigate to Network and Sharing Center
- Click on "Network and Sharing Center".
- Click on your active connection
- Under "View your active networks", click on the name of your current network (e.g., "Wi-Fi" or "Ethernet").
- Check the IP address
- The "IPv4 Address" will be listed under the network properties.
Troubleshooting Tips
- If
ipconfigshows "169.254.x.x" as your IP address, your device is not receiving a valid IP from the router. This is a link-local address, indicating a DHCP failure. - Check your router’s connectivity.
- Restart your router and your computer.
- Run
ipconfig /releasefollowed byipconfig /renewin Command Prompt.
- If you're using a VPN, the local LAN IP may differ from your public IP. The
ipconfigcommand shows your internal network address, not your public internet-facing IP.
- For Windows Server 2025, the process is identical. Use the same steps via Command Prompt or PowerShell.
Summary
| Method | Steps | Best For | |
|---|---|---|---|
| Command Prompt | ipconfig |
Quick, reliable, all systems | |
| PowerShell | `ipconfig | findstr "IPv4"` | Scripting, automation |
| Settings App | Network & Internet > Connection > Properties | Users who prefer GUI | |
| Control Panel | Network and Sharing Center > Active connection | Legacy users |
✅ Final Check: After running ipconfig, verify that the IP address is in the typical private range:
192.168.x.x10.x.x.x172.16.x.xto172.31.x.x
These are standard private IP ranges used in home and business networks.
If you still cannot find your IP address, ensure your device is connected to the network and try restarting your network adapter or router.
