Share via

How do I determine what is using port 80?

Anonymous
2010-02-10T19:00:09+00:00

A program I wish to use needs exclusive use of port 80  which something else is using. How do I find out what?

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2010-02-11T16:10:12+00:00

    Hi rusks,

    You can use the “netstat” command from command prompt to determine which program is using any port.

    Follow these steps:

    1. Click Start, type cmd in the Start Search box, and then press ENTER.

     If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.

    1. Type netstat –o and hit enter.**** This will provide a list of ports, along with the PID (process ID) that has those ports open.
    2. To determine what executable is running as a process ID, open Windows Task Manager and switch to the Processes tab.
    3. Now click on View->Select Columns.5. On the screen that opens, make sure "PID (Process Identifier)" is checked and then click OK.
    4. Now click on the PID heading to sort the entries by PID.
    5. Get the PID numbers from command prompt and verify from task manager.

    NOTE: Check only for TCP or UDP protocols as port 80 is TCP/UDP.

    Regards,

    Gulrez


    Microsoft Answers Support Engineer

    10+ people found this answer helpful.
    0 comments No comments

11 additional answers

Sort by: Most helpful
  1. Anonymous
    2014-06-19T07:08:33+00:00

    Its safe to kill, most of the time is a service called World Wide Web Publishing Service.

    You can go to, Control Panel - Administrative Tools - Services - World Wide Web Publishing Service, then choose stop and in properties change the startup type to manual.

    Hope this Works!

    20+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2011-04-13T23:10:55+00:00

    Instead of netstat -o, type netstat -ao and find it that way. A few good things to check, as well, are if you're running skype or some voice chat programs.

    4 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2013-06-12T03:55:18+00:00

    Hi rusks,

    You can use the “netstat” command from command prompt to determine which program is using any port.

    Follow these steps:

    1. Click Start, type cmd in the Start Search box, and then press ENTER.

     If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.

    1. Type netstat –o and hit enter.**** This will provide a list of ports, along with the PID (process ID) that has those ports open.
    2. To determine what executable is running as a process ID, open Windows Task Manager and switch to the Processes tab.
    3. Now click on View->Select Columns.5. On the screen that opens, make sure "PID (Process Identifier)" is checked and then click OK.
    4. Now click on the PID heading to sort the entries by PID.
    5. Get the PID numbers from command prompt and verify from task manager.

    NOTE: Check only for TCP or UDP protocols as port 80 is TCP/UDP.

    Regards,

    Gulrez


    Microsoft Answers Support Engineer

    Hey thanks. this is helpful...

    i found out what is PID 4 and what is its name.. (NT & Kernel System)

    so ummm. is it safe to kill this process?

    because it's messing with my Xampp.. i cannot run my apache because of it.. :/

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2011-03-18T01:07:23+00:00

    I did the netstat -o as directed, and teh PID listed is 0

    0 comments No comments