Windows : check and kill the port # process
C:\Windows\System32> netstat -ano | findstr :8080
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 6184
TCP [::]:8080 [::]:0 LISTENING 6184
TCP [::1]:8080 [::1]:62420 ESTABLISHED 6184
TCP [::1]:62419 [::1]:8080 TIME_WAIT 0
TCP [::1]:62420 [::1]:8080 ESTABLISHED 5300
C:\Windows\System32>taskkill /F /PID 5300
SUCCESS: The process with PID 5300 has been terminated.
C:\Windows\System32>
C:\Windows\System32> netstat -ano | findstr :8080
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 6184
TCP [::]:8080 [::]:0 LISTENING 6184
TCP [::1]:62419 [::1]:8080 TIME_WAIT 0
C:\Windows\System32>taskkill /F /PID 6184
SUCCESS: The process with PID 6184 has been terminated.
C:\Windows\System32> netstat -ano | findstr :8080
TCP [::1]:62419 [::1]:8080 TIME_WAIT 0
C:\Windows\System32>taskkill /F /PID 0
ERROR: The process with PID 0 could not be terminated.
Reason: This is critical system process. Taskkill cannot end this process.
Comments
Post a Comment