• Shopping Cart
  • Contact Us
  • Select a Location
    Select a Location

    Current Location:

    Let us know the location you'd like to browse.

  • View Cart

Data Support

Back Print Article

Determine Which Program is Blocking or Using a Port in Windows XP

Last Updated: Tue, 15 Dec 2015 > Related Articles


How to use DOS commands and the Windows Task Manager in order to determine which programs are using or blocking ports in Windows XP.



In Windows XP, use the netstat command to display the process identifier (PID) of the program that is currently using the displayed port.  For example, entering the command netstat -ano would display the following results:


ProtoLocal AddressForeign AddressStatePID

To use the netstat command, perform the following steps:

  1. Click Start.
  2. Click Run.
  3. Type 'cmd' and click OK.
  4. In the DOS window type netstat -ano and press enter.
  5. This will give a list of all ports actively being used and the PID's that relate to the programs using those ports.

This shows us that port 80 is being monitored by the program with process identifier (PID) 888. Using the Windows Task Manager we can match this PID to the program that it is associated with.  This will tell us what program is monitoring port 80.

To open Task Manager and match the PID's to a program:

  1. Press CTRL+ALT+DELTE.
  2. Click the Processes tab.
  3. If the PID column is not viewable then:
    1. Click View.
    2. Click Select Columns.
    3. Place a check mark next to PID (Processor Identifier).
    4. Click OK.
  4. Click the column header labeled as "PID."  This will sort the processes by their PID number allowing the customer to easily find the PID they are looking for and the name of the process it is assigned to.
  5. Once this information is found, you can close the program that is using the port if you wish to do so.

All steps complete.



Rate this Article:

Related Topics:

Give us your feedback:


Maximum 500 characters

Back Print Article

Need More Help?