Finding out which process stole your port and killing it

PHOTO EMBED

Wed Apr 22 2026 13:23:55 GMT+0000 (Coordinated Universal Time)

Saved by @Muhammadcodes #javascript

netstat -ano | findstr :[port number]

// The output looks something like this   TCP    0.0.0.0:3000           0.0.0.0:0              LISTENING       4692
  TCP    [::]:3000              [::]:0                 LISTENING       4692
  TCP    [::1]:3000             [::1]:53454            TIME_WAIT       0
  TCP    [::1]:3000             [::1]:54970            TIME_WAIT       0
  TCP    [::1]:54969            [::1]:3000             TIME_WAIT       0


kill the culprit:taskkill /PID 4692 /F
content_copyCOPY