On Windows cmd:
Syntax : netstat<space>-ano<space>|<space>find<space>":<port>"
When run the command related to the port 8006 the output will give as below,
Ex:
C:\Users\hal>netstat -ano | find ":8006"
TCP 127.0.0.1:8006 0.0.0.0:0 LISTENING 5380
Related to the example, "5380" is the process id(PID), then can check the PID through the Task Manager.