Home > Article > Operation and Maintenance > What is the command to view the port in Windows system?
The command to view ports in windows system is [netstat -an]. This command can display a list of all open ports on the computer. If we want to display a list of all occupied ports, we can use the command [netstat -ano].
#The operating environment of this article: windows10 system, thinkpad t480 computer.
(Learning video sharing: Programming video)
Specific command:
netstat -an
Display a list of all open ports in the computer
netstat -ano
Display a list of all occupied ports
netstat -ano | findstr "80"
Display the details of port 80 occupied
tasklist | findstr "680"
Query which application is occupying the port
Related recommendations: windows system
The above is the detailed content of What is the command to view the port in Windows system?. For more information, please follow other related articles on the PHP Chinese website!