Windows View Port occupancy commands

Source: Internet
Author: User

Start-run--cmd Enter the command prompt to enter Netstat-aon to see all the connected PID after the PID in the task Manager to find the corresponding program if the task manager does not have the PID, you can choose "View"-"Select column" in Task Manager

Often, we start the application when the system needs to find the port is occupied by other programs, how to know who owns the port we need, many people are more headache, the following is a very simple method, I hope to be useful to everyone, if we need to determine who occupied our 8080 port

1. Windows platform
Execute under Windows command-line window:

See, Port is occupied by process number 1508 process, continue to execute the following command:


C:\>tasklist|findstr "1508"

It's clear that Java is taking up your port.
If the second step is not found, then open the Task Manager, see which process is 2448, and then kill it. If you need to see additional ports. You can get rid of 8080.

Windows View Port occupancy commands

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.