Wednesday, 13 May 2020

how to free port port in use error

C:\Users\AnilBalwani>netstat -ano | findstr 8080
  TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       12744
  TCP    [::]:8080              [::]:0                 LISTENING       12744
  TCP    [::1]:8080             [::1]:57481            TIME_WAIT       0
C:\Users\AnilBalwani>taskkill /pid 12744
ERROR: The process with PID 12744 could not be terminated.
Reason: This process can only be terminated forcefully (with /F option).
C:\Users\AnilBalwani>taskkill /pid 12744 -f
SUCCESS: The process with PID 12744 has been terminated.

No comments:

Post a Comment