Two-step method: 1 query for port occupancy,2 kill the process by force
netstat -aon|findstr “8080”
taskkill /pid 4136-t -f
Execute the procedure under the Windows command line window
1. Check the specified port usage
netstat aon | findstr searches “8080”
Agreement local address external state of PID
The port is occupied by process 4136
2. Directly force kill the specified port
taskkill /pid 4136 -t -f
Ps: You can also close a process by its program name
View the corresponding process PID
tasklist | findstr searches “127704”
Image name PID will words name session # memory use
Taskkill /f /t /im java.exe
netstat -aon|findstr “8080”
taskkill /pid 4136-t -f
Execute the procedure under the Windows command line window
1. Check the specified port usage
netstat aon | findstr searches “8080”
Agreement local address external state of PID
The port is occupied by process 4136
2. Directly force kill the specified port
taskkill /pid 4136 -t -f
Ps: You can also close a process by its program name
View the corresponding process PID
tasklist | findstr searches “127704”
Image name PID will words name session # memory use
Taskkill /f /t /im java.exe
Read More:
- Computer CMD window net view command 6118 error resolution
- When installing mysql, an error occurs when executing the installation command with the CMD window. Install / Remove of the Service denied
- Several ways for Ubuntu to open command line terminal window
- Solution of command line window flashback when visual studio runs C + + program
- View port and resolve port conflict in Windows
- Port 4200 is already in use.Use ‘-port’ to specify a different port error Reasons
- Through PID (process identification) to find the port (port) occupied applications, to solve the problem of port occupied
- Firewall CMD command in CentOS 7
- Windows 7 system, start to run input CMD, the window flashed by, disappeared
- Command line is too long. Shorten command line for QuestionnaireApplication or also for Spring Boot
- How to solve oserror: [errno 98] address already in use and kill the python3 process
- Go compiles the EXE executable to remove the CMD window at run time
- Solution to the problem of console output window’s CMD flashing back when vs2015 writes C + + program
- Error running ‘application’: command line is too long. Short command line for application
- Python – [encoding] in Python os.system Solution to Chinese garbled code when calling CMD command
- Vue cli 4 CMD command creates an error: error command failed NPM install – loglevel error – solution
- After Oracle 11g is installed, SQL_ Plus.exe The problem of Chinese garbled in command window
- Solution to command line option syntax error. Type command /? For help
- Three solutions to command line flashback in VS