Introduction: In daily work, often encountered when launching an application, prompted the XXX port has been and occupied, resulting in the current application does not start normally. How do I find an app that occupies a specific port and release it? This article will detail the entire process.
1. Look up the port usage of the current system
2. Find the usage of the specified port
With the above command, we can tell that the process that occupies port 443 is id/pid 4008.
3. View the occupied program files based on the process ID
‘
As you can see, it is a system service, so you need to deactivate the service by going to the list of services in Control Panel.
Another type of program might be:
Image Name PID session name Session # Memory Usage
========================= ======== ================
tor.exe Console 0 16,064 K
4. Based on the name of the program, stop the program directly.
For example, the executable file for Word in the current office is: Winword.exe. The command to stop it is as follows:
5. Task-based management, can be based on the application process name and PID to kill the process
First select the PID column in Task Manager, and in its task Manager, display the PID column:
In the Process Manager display, you can see the process name, PID and the path of the application, you can directly select a process, right-click Kill.
6. Summary
In this article, we learned how to find port occupancy, find the corresponding application based on port occupancy, and then kill its application process, eventually solving the problem.
How do I find in Windows and port usage and release end share population?