PID exists in netstat but does not exist in task manager PID exists in netstat but does not exist in task manager windows windows

PID exists in netstat but does not exist in task manager


You don't need Task Manager for tracking this. Just run netstat -b which will display the exe associated with the PID..


Well, in my case killing all the conhost.exe instances owned by the same user as the initial process released the port.


(improved from @mfck's answer)

  1. kill all processes named cmd.exe
  2. kill all processes named conhost.exe