Home >Common Problem >How to check port status with netstat
Netstat method to check the port status: 1. Use the shortcut key "WIN R" to open the run window; 2. In the "Run" window, enter "cmd" and press Enter; 3. In the open command In the line window, enter the "netstat --help" command and press Enter to display the status description of all ports.
The operating environment of this article: Windows 10 system, Dell G3 computer.
Netstat method to check the port status:
1. First, open our computer, and then use the shortcut key "WIN R" to open our running window, or directly Open it directly from the computer start interface.
#2. Enter cmd in the run window, and then click "OK". At this time, the MSDOS interface will be entered. We will Check the port status we need to check on this interface.
3. Enter the command line and use the netstat command to view the port status
Enter the [netstat --help] command, press enter, and it will be displayed Status description of all ports. At this point, we have completed checking the port status.
Instructions:
Enter [netstat -t] plus the -t parameter to display the current unloading status of all connections; enter [netstat -a], Show all [Connect] and [Listen] ports.
For more programming-related knowledge, please visit: Programming Teaching! !
The above is the detailed content of How to check port status with netstat. For more information, please follow other related articles on the PHP Chinese website!