Windows port occupied solve

window 10-port 8001 is occupied kill

C:\Users\e58>netstat -ano

Active connections

Local external address status protocol the PID
the TCP 560. LISTENING 0.0.0.0:135 0.0.0.0:0
the TCP LISTENING. 4 0.0.0.0:445 0.0.0.0:0
the TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 3920
the TCP 0.0.0.0 : 5040 0.0.0.0:0 LISTENING 10744
TCP 0.0.0.0:7680 0.0.0.0:0 LISTENING 7624
TCP 0.0.0.0:8001 0.0.0.0:0 LISTENING 24052
TCP 0.0.0.0:8009 0.0.0.0:0 LISTENING 10560
TCP 0.0 .0.0: 8080 0.0.0.0:0 LISTENING 10560
TCP 0.0.0.0:9092 0.0.0.0:0 LISTENING 10560
TCP 0.0.0.0:20531 0.0.0.0:0 LISTENING 4372


C: \ the Users \ E58> tasklist | findstr "24052" java.exe 24052 Console 5 27 , 728 K C: \ the Users \ E58 > taskkill / f / t / IM java.exe Success: Terminated PID 20940 (belonging to the PID 24052 child process) process. Success: Terminated PID 13860 (belonging to the PID 4488 child process) process. Success: Terminated PID 23340 (belonging to the PID 22384 child process) process. Success: Terminated PID 24052 (belonging to the PID 17144 child process) process. Success: Terminated PID 4488 (belonging to the PID 15 556 child process) process. Success: PID has been terminated 22384 (belonging to the PID 15 556 child process) is. C: \ the Users \ E58 >

 

Guess you like

Origin www.cnblogs.com/eason-d/p/10938470.html