This guide shows you several ways to view active network connections in Windows 11, including the Settings app, Command Prompt, and PowerShell. You’ll learn how to see your current Wi-Fi or Ethernet connection, check IP addresses, and list all active TCP/UDP connections. No special tools are needed—everything is built into Windows.
What You’ll Need
- A Windows 11 PC with an active network connection (Wi-Fi or Ethernet).
- Administrator rights (only for some commands like
netstat -b).
Step-by-Step
Method 1: Using Settings (View Current Connection Details)
- Click the Start button (Windows icon) on the taskbar.
- Click the Settings gear icon (or press
Win + I). - In the left sidebar, click Network & internet.
- You’ll see a summary of your active connections. Click Wi-Fi or Ethernet (whichever is connected).
- Click the network name (e.g., “HomeWiFi”) or the “Properties” button. Here you’ll see the IPv4 and IPv6 addresses, DNS servers, and other details.
Method 2: Using Task Manager (Quick View of Active Connections)
- Press
Ctrl + Shift + Escto open Task Manager. - If Task Manager opens in compact mode, click More details at the bottom.
- Click the Performance tab.
- Select Wi-Fi or Ethernet in the left panel. You’ll see the connection status, IP address, and data transfer rates.
Method 3: Using Command Prompt (List All Active Connections)
- Press
Win + R, typecmd, and press Enter (or search for “Command Prompt” in Start). - In the Command Prompt window, type
netstat -nand press Enter. This lists all active TCP connections with IP addresses and ports. - For more details, try
netstat -a(all connections and listening ports) ornetstat -b(shows which app owns each connection—requires administrator).
Method 4: Using PowerShell (View Detailed Connection Info)
- Right-click the Start button and select Windows PowerShell (Admin) or Terminal (Admin).
- Type
Get-NetTCPConnectionand press Enter. This shows active TCP connections with state, local/remote addresses, and owning process ID. - To see UDP connections, type
Get-NetUDPEndpoint.
Common Mistakes
- Confusing local and remote addresses: In
netstatoutput, the “Local Address” is your computer’s IP/port, while “Foreign Address” is the remote device’s IP/port. - Forgetting to run as administrator: Commands like
netstat -borGet-NetTCPConnection -OwningProcessrequire admin rights to show process names. - Looking at the wrong network adapter: If you have both Wi-Fi and Ethernet, make sure you’re viewing the one that’s actually connected (check the status icon).
- Misreading IPv6 addresses: They are longer and contain colons—don’t mistake them for IPv4.
Tips
- Use
netstat -nto avoid DNS resolution, which makes the output faster and cleaner. - To see real-time connections, use
netstat -n 5(refreshes every 5 seconds). PressCtrl + Cto stop. - In PowerShell,
Get-NetTCPConnection -State Establishedfilters only active connections. - If you need to identify which app is using a specific port, use
netstat -anoand then check the PID in Task Manager (Details tab).
Troubleshooting
If you can’t see any connections or the commands fail, try the following:
- No output from netstat: Make sure you have an active network connection. If you’re offline, there may be no active TCP connections.
- “Access denied” error: Run Command Prompt or PowerShell as administrator (right-click → Run as administrator).
- Settings shows “No internet”: Check if your Wi-Fi is turned on and you’re connected to the correct network. Restart your router if needed.
- Command not recognized: Ensure you’re typing the command correctly. In PowerShell,
netstatworks, butGet-NetTCPConnectionis the native cmdlet. - Task Manager shows no network activity: Even if you’re connected, the graph might be flat if there’s no data transfer. Try loading a webpage to see activity.
Frequently Asked Questions
How do I find my IP address in Windows 11?
Open Settings → Network & internet → Wi-Fi (or Ethernet) → click the network name. Your IPv4 and IPv6 addresses are listed there. Alternatively, type ipconfig in Command Prompt.
What is the difference between TCP and UDP connections?
TCP (Transmission Control Protocol) is connection-oriented—it ensures data is delivered reliably. UDP (User Datagram Protocol) is connectionless—it sends data without guaranteeing delivery, used for streaming and gaming.
How can I see which program is using a specific port?
Run netstat -ano in Command Prompt, note the PID (last column) for the port, then open Task Manager → Details tab and find that PID. Or use PowerShell: Get-Process -Id (Get-NetTCPConnection -LocalPort [port]).OwningProcess.
Why does netstat show many connections I don’t recognize?
Windows and background apps (like OneDrive, Windows Update, or antivirus) maintain connections. It’s normal. If you see suspicious connections, check the PID and research it.
Can I view network connections without admin rights?
Yes, basic netstat commands work without admin. Only options that show process names (like -b) require elevation.
How do I refresh the connection list in real time?
Use netstat -n 5 in Command Prompt to refresh every 5 seconds. Press Ctrl + C to stop.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Google Desktop Search Widget on Windows 11
- How to Build a Computer Stand (Saturday Workshop)
- Customize Touch Keyboard Themes in Windows 11
- Excel Pivot Table: Change Multiple Field Settings
- WhatsApp: How to Block Unknown Numbers
- How to Exit Vi in Linux: A Simple Guide