How to see who occupies a port under Windows

Source: Internet
Author: User

Development is often encountered when the port is occupied, this time is always very crazy, know which process is occupied well, the end is, if you do not know what we should do?
I'll tell you one way, ^_^.
1, start-up run-->cmd, or the WINDOW+R key combination, bring up the command window;


2, enter the command: Netstat-ano, list all the conditions of the port. In the list we observe the occupied port, such as 1224, to find it first;


3, view the occupied port corresponding PID, input command: Netstat-aon|findstr "8081", enter, note the last digit, namely PID, here is 9088;


4, continue to input tasklist|findstr "9088", enter, to see which process or program occupies 8081 ports, the result is: Node.exe


Or we open the Task Manager, switch to the Process tab, in the PID column to see who the 9088 corresponding process is, if you do not see the PID column, such as:


Then we can end this process.

================================================================================

Original Sticker Address: 66984822

How to see who occupies a port under Windows

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.