View port occupancy under windows (bricks)

Source: Internet
Author: User

The first step is to execute the command: Netstat-ano

-A show all connections and listening ports

-N Displays the address and port number in digital form. This option is typically used in combination with the-a option

-O Displays the owning process ID associated with each connection.

Active Connections
Proto Local Address Foreign address State PID
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 656
TCP 0.0.0.0:8080 0.0.0.0:0 LIStening 656
Visible, the PID of a process that occupies 8080 ports is 656

Step two, execute the command: tasklist

Image name PID session name Session # Memory usage
========================= ====== ================ ======== ============
TNSLSNR.exe 656 Console 0 8,992 K

It is visible that the process that occupies port 8080 is TNSLSNR.exe

The third step, through the Task Manager, terminates the process TNSLSNR.exe

Address: http://blog.csdn.net/bits00/article/details/7244071

View port occupancy under windows (bricks)

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.