View the Windows port process

Source: Internet
Author: User

1. View all Windows port processes

First click on the Start menu to select Run, then enter "CMD" in the Run dialog box, return to open a command Prompt window, then enter "Netstat-ano" in the window, press ENTER, then all the port occupancy will be displayed.

2, if you want to query the specified port occupancy, you can continue to enter the "Netstat-aon|findstr" Prompt port "" In the window, where the prompt port is assumed to be 80, then the input command is "NETSTAT-AON|FINDSTR" 80 ", You can see the PID in the list after the carriage return, and then, depending on the PID, view the corresponding Occupy program in the computer's task manager and then close it.

3, and then according to the query of the PID to find the corresponding process, I can see the process of possession 80 of this program id:5264, continue to enter the command "TASKLIST|FINDSTR" 5264 ", 5264 is the process ID, Now that we know which process is taking over, we can take the appropriate measures to solve it.

4. In Task Manager, you can shut down its process

View the Windows port process

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.