Command line for looking at specific port

前端 未结 13 1229
孤街浪徒
孤街浪徒 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:07

    when I have problem with WAMP apache , I use this code for find which program is using port 80.

    netstat -o -n -a | findstr 0.0:80
    

    enter image description here

    3068 is PID, so I can find it from task manager and stop that process.

提交回复
热议问题