Windows to see which process is consuming the port

Source: Internet
Author: User

Command

View PID: netstat-ano|findstr Port number

View process name: tasklist|findstr PID

End Process: taskkill-f-pid PID number

Detailed diagram:

1. Open the Command Window

2. Enter the NETSTAT-ANO|FINDSTR port number to query the process PID that occupies the port, for example, the PID here is 7832

3. Enter the TASKLIST|FINDSTR PID query process name, for example, the name of the process is Phpd.exe

4. You can also view the PID corresponding process by opening the Task Manager, as

5. If PID does not have a column, view, select columns in the Task Manager menu bar, and then tick the PID

6. If you want to end the process, directly select the process click the End button, or use the command taskkill-f-pid 7832

Windows to see which process is consuming the port

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.