WinXP uses commands to view all ports and designated ports.

  

There are usually many local ports under WinXP. Sometimes we need to check if those ports are occupied, so how do I want to view all ports or a port? What about the operation? It's actually very simple, and some small commands can help you.

First, check all ports of the local machine

We first open and start running, enter CMD. Then enter the command netstat-aon and press Enter. All port conditions are coming out.

Second, view the specified port

When we need to view a specified port, we enter the command netstat -aon |  Findstr "port number", that's it. Using port 80 as an example, enter the command netstat -aon |  Findstr "80", enter.

Is it very simple? Just remember the above two commands and we will be able to view the WinXP local port at will. Of course, if you want to know more about the usage of some commands, you need to learn a lot. I suggest that you always take a look at the system home tutorial.

Copyright © Windows knowledge All Rights Reserved