Windows View Port Usage

Source: Internet
Author: User

The use of the port is we are in the remote or the printer will encounter, but there are many users will encounter the port is occupied, encountered such a problem first to find out the computer so that the port and then to view, or there are many people do not know how to view the computer port.

1 Viewing windows All port processes

First click on Start menu select Run, then in the Run dialog box enter "cmd", enter to open a command prompt window, and then enter in the window

Netstat  -ano

, press ENTER, and then all port usage is displayed.

2 Querying the specified port

If you want to query the specified port occupancy, you can continue typing in the window.

" the specified port "

, the port of the hint here is assumed to be 80, then the input command is "NETSTAT-AON|FINDSTR" 80 "", enter after you can see the list of PID, and then according to the PID in the computer's Task Manager to view the corresponding occupation program, and then close it.

Then according to the query of the PID to find the corresponding process, I can see 80 of the process of this program id:2432, continue to enter the command

" 2432 "

, 2432 is the process ID, and now we know which process is taking over and we can take the appropriate measures to solve it.

Windows View Port Usage

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.