Home  >  Article  >  Operation and Maintenance  >  What is the command to view the port in Windows system?

What is the command to view the port in Windows system?

王林
王林Original
2021-01-15 16:46:4844132browse

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

What is the command to view the port in Windows system?

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

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