There could be instances where we need to check our current network connectivity or sometimes troubleshoot a particular connection. We can follow a few simple steps to check the active connections. We also have some predefined commands that when entered in command prompt give a detailed explanation about the connection including the IP address, port numbers, and connection status. In this article lets look at the ways to check the active network connections on Windows.
There are two methods to check network connections:
Method 1: Using control panel
Step 1: In the search tab, search for the control panel and click on view network status and tasks below the Network and Internet. (This displays the current network the system is connected to.)
Step 2: You can click on connections to check the network status
Step 3: Click on Details for more information about the network connection like IPv6 address, subnet mask, etc.
Step 1: Go to settings and click on Network & Internet
Step 2: Select Ethernet and then click on Network and Sharing Center that would navigate to the same page where the current network is shown
Method 2: Using Network connections folder
Step 1: In the search bar type: “ncpa.cpl” and press enter
This would show all the connections but we can identify the active connection using the green icon
Step 2: Right-click on the active connection and click on the status to see the status page.
Now, you can click on details for more information just like we did in the earlier steps
Checking All active connections
Other than the internet connections which we have seen till now, there are many more active connections in order for the system to function. To look at such connections follow the steps below:
Step 1: In the search bar type “cmd” (Command Prompt) and press enter.
Alternatively, press “ + R” on the keyboard. In the open text box type “cmd” and click on OK
This would open the command prompt window.
Step 2: We can now enter the netstat commands to look at all current active connections
“netstat -a” shows all the currently active connections and the output display the protocol, source, and destination addresses along with the port numbers and the state of the connection.
“netstat -b” shows the executable involved in creating each connection or listening port
Please note that we need extra privileges to execute this output. We might see the following error.
In such cases, open the command prompt and run it as administrator.
“netstat -n” shows similar outputs with IP addresses rather than names of system or services
“netstat /?” shows all the options available with the command
- Difference between :focus and :active selector
- How to remove active nav-tab when click outside of nav-tab in Bootstrap ?
- How to add active class on click event in custom list group in Bootstrap 4 ?
- How to determine active route in AngularJS ?
- How to change the background color of the active nav-item?
- HTML DOM MediaStream active Property
- How to set active tab style with AngularJS?
- Difference Between DOS and Windows
- How to set PHP development environment in windows ?
- How to Create a WiFi Hotspot in Windows 8 using Command-prompt?
- How to install Sublime Text 3 in Windows?
- How to disable Windows Startup services?
- How to update Sound Drivers in Windows PC?
- How to Create a Desktop Shortcut in Windows?
- How to Install R Studio on Windows and Linux?
- How to Disable Administrator Account in Windows?
- How to Hide a Folder in Windows?
- How to close a dialog box in windows?
- How to Reinstall Wireless Drivers in Windows?
- How to Create an Unnamed file in Windows?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.