Command line for looking at specific port

前端 未结 13 1206
孤街浪徒
孤街浪徒 2020-12-02 03:40

Is there a way to examine the status of a specific port from the Windows command line? I know I can use netstat to examine all ports but netstat is slow and looking at a spe

13条回答
  •  既然无缘
    2020-12-02 04:22

    I use:

    netstat –aon | find ""
    

    here o represents process ID. now you can do whatever with the process ID. To terminate the process, for e.g., use:

    taskkill /F /pid 
    

提交回复
热议问题