Under win7 how to kill the process according to the port number

  1. Click on the lower left window windows icon button.

    Under win7 how to kill the process according to the port number?
  2.  

    Enter cmd

    Under win7 how to kill the process according to the port number?
  3.  

    Enter Enter netstat -ano.

    Under win7 how to kill the process according to the port number?
  4.  

    The left arrow points to the port number to the right of the arrow pointing to the port number corresponding to the process ID pid, we write down the number pid

    Under win7 how to kill the process according to the port number?
  5.  

    Our port 2001, for example, to find the pid 13520, type tasklist | findstr 13520 carriage return after we can see this process.

    Under win7 how to kill the process according to the port number?
  6.  

    Right-click on the bottom space, select [Start Task Manager]

    Under win7 how to kill the process according to the port number?
  7.  

    Switch to the [process] tab

    Under win7 how to kill the process according to the port number?
  8.  

    Find pid pid column corresponds to the number.

    Under win7 how to kill the process according to the port number?
  9.  

    Right-click on the corresponding process number Pid click End Process []

    Under win7 how to kill the process according to the port number?
  10.  

    Click End Process again [] to confirm.

    Under win7 how to kill the process according to the port number?
  11.  

Guess you like

Origin www.cnblogs.com/cangqinglang/p/11199777.html