Check if windows Port is in use and windows Port is in use

Source: Internet
Author: User

Check if windows Port is in use and windows Port is in use

  1. Start ----> RUN ----> cmd, or the window + R key combination to bring up the command window

  2. Run netstat-ano to list all ports. In the list, we observe the occupied port, for example, 49157. First find it.

  3. View the PID corresponding to the occupied port, enter the command: netstat-aon | findstr "49157", Press enter, and write down the last digit, that is, PID, Which is 2720

  4. Continue to input tasklist | findstr "2720". Press enter to check which process or program occupies port 2720. The result is svchost.exe.

  5. Alternatively, open the task manager and switch to the process tab. In the PID column, check who the process is. If the PID column is not displayed, for example:

  6. Click view ---> Select column, tick the PID (process identifier), and click OK.

  7. The description is that the main process of Windows is exactly the same as that shown in the preceding command.

  8. End the process: select the process in the task manager and click the "End Process" button, or enter taskkill/f/t/im Tencentdl.exe In the cmd command window.

    From: http://jingyan.baidu.com/article/3c48dd34491d47e10be358b8.html

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.