How do I see how the local port is being consumed by the process?

Source: Internet
Author: User

1. View Port usage:

1. Start-run--cmd to enter the command prompt.

2. Enter Netstat-ano (or Netstat-nao) to See all processes (the PID of the process shown here) occupy the port.

3. In Task Manager, locate the process for this PID, and if there is no PID in Task Manager, you can select "View"-"Choose Column" in Task Manager.

2. See which processes occupy a port:

1. Start-run--cmd to enter the command prompt.

2. Enter Netstat-aon|findstr "8069".

Show Results:
TCP 127.0.0.1:8069 0.0.0.0:0 LISTENING 3536

As you can see, Port 8089 is occupied by processes with process number 3536.

3. View all processes involving the 3536 process number:

Input command:tasklist|findstr "3536"

Show Results:

Javaw.exe 3536 Console 0 81,772 K

The process of process number 3536 is javaw.exe.
In summary: Javaw.exe occupies port 8069.

How do I see how the local port is being consumed by the process?

Related Article

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.