windows to view the status of a port, and the program takes up

Check all windows port status:

netstat -ano
protocol type, ip address + port number, transmitted to the external address, status, i.e. the PID process ID.
Here Insert Picture DescriptionWe want to filter out the port: as 443
netstat -ano | findstr "443"
Here Insert Picture Descriptionto find the corresponding PID, such as the first line corresponds to 8776, with process ID 8776, indicating that the process is occupying the port.

Find the occupied program:
tasklist That list all running processes, | followed by filtering criteria.
tasklist | findstr "8776"
Here Insert Picture Description
results are shown, program or my vmware.

Published 50 original articles · won praise 67 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_41033366/article/details/103981127