Win7 command line port occupies query process number to kill process
•
Java
1. Enter DOS command window
2. Check the process number of the program according to the port number
Netstat - ano - findstr port number
3. Check the specific program name according to the process number of the program
Tasklist | findstr process number
4. Forcibly and recursively delete this program and its sub processes
Taskkill - F - t - Im file name
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码