Home >Common Problem >How to check port status with netstat

How to check port status with netstat

coldplay.xixi
coldplay.xixiOriginal
2021-01-05 17:09:0146849browse

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.

How to check port status with netstat

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.

How to check port status with netstat

How to check port status with netstat

#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.

How to check port status with netstat

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.

How to check port status with netstat

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.

How to check port status with netstat

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn