View method: First start the cmd command window, enter the "netstat -ano" command in the command window, and press Enter to see the current occupation of all ports in the system; or enter "netstat -ano |findstr "Port number"" command, press Enter, you can see the occupancy of the specified port.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
How to check port occupancy in windows:
1. Start the cmd command window of windows
First use the press combination Press [windows R] to open the run window; then enter cmd in the input box to start the command window.
2. After entering the windows command window, enter the command, enter netstat -ano and press Enter, you can see all the current information in the system. port usage.
3. You can find a specific port in the cmd command window. Enter netstat -ano |findstr "port number" in the command window, and then press Enter. You can see which application is occupying this port.
The above is the detailed content of How to check port usage in Windows?. For more information, please follow other related articles on the PHP Chinese website!