How to view and close a Win7 computer when it encounters a port being occupied

Source: Internet
Author: User
Reprint: Http://www.jb51.net/os/windows/203315.html Port is we in the remote or printer, etc. will encounter, but there are many users will encounter the port is occupied, a lot of people do not know how to view the computer port, Here is a detailed introduction to the next

Windows7 operating system cool and powerful has been well received by users, here is the root of everyone to share is to teach you to see whether the Win7 computer port is occupied skills, the port is we are in the remote or printer, and so will encounter, but there are many users will encounter the port is occupied situation, The first thing to do is to find out all the ports on the computer and then check, or a lot of people do not know how to view the computer port, now with the small series to learn a detailed view of the method.

1. View all Windows port processes

First click on the Start menu to select Run, then enter "CMD" in the Run dialog box, return to open a command Prompt window, then enter "Netstat-ano" in the window, press ENTER, then all the port occupancy will be displayed.

2, if you want to query the specified port occupancy, you can continue to enter the "Netstat-aon|findstr" Prompt port "" In the window, where the prompt port is assumed to be 80, then the input command is "NETSTAT-AON|FINDSTR" 80 ", You can see the PID in the list after the carriage return, and then, depending on the PID, view the corresponding Occupy program in the computer's task manager and then close it.

3, and then according to the query of the PID to find the corresponding process, I can see the process of possession 80 of this program id:5264, continue to enter the command "TASKLIST|FINDSTR" 5264 ", 5264 is the process ID, Now that we know which process is taking over, we can take the appropriate measures to solve it.

About viewing the Win7 computer port is the use of the technique is introduced here, interested friends can be based on the above for everyone to introduce the method of operation Oh, I believe can help you oh.

How to view and close a Win7 computer when it encounters a port being occupied

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.