How to check the port occupancy in Windows
This article introduces you how to check the port occupancy in Windows, the content is very detailed, interested friends can refer to, hope to be helpful to you.
1. Win+r runs cmd or runs in the open menu
2. Run the command netstat-aon | findstr "8888"
Netstat-ano to view all occupied ports
Findstr "Port to View" looks up the occupancy of the port
You can see that the port 8888 I am looking for is occupied by an application that has been 8328 for the time of the process ID
3. View the applications that occupy the port
Run the command tasklist | findstr "8328" to view the application with an id of 8328
4. The process of investigation and killing
Run the command taskkill / f / t / im javaw.exe to kill the process
5. Confirm that the port is not occupied
On how to check the port occupancy in Windows to share here, I hope the above content can be of some help to you, you can learn more knowledge. If you think the article is good, you can share it for more people to see.