Home > Operation and Maintenance > Windows 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?

王林
Release: 2022-12-30 11:11:56
Original
44231 people have browsed it

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
Copy after login

Display a list of all open ports in the computer

netstat -ano
Copy after login

Display a list of all occupied ports

netstat -ano | findstr "80"
Copy after login

Display the details of port 80 occupied

tasklist | findstr "680"
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
Can Windows be learned?
From 1970-01-01 08:00:00
0
0
0
Install PHP in windows environment
From 1970-01-01 08:00:00
0
0
0
zookeeper extension under windows
From 1970-01-01 08:00:00
0
0
0
Can I play vim happily on Windows?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template