There are times that you might want to check which service or application is current using port 80 in windows. For me, this morning, I intended to start up grizzly server to test comet streaming server, however, there is an exception thrown. Address already in use: bind: 80=com.sun.grizzly.http.SelectorThreadHandler@15c7850
at com.sun.grizzly.TCPSelectorHandler.initSelector(
at com.sun.grizzly.TCPSelectorHandler.preSelect(
at com.sun.grizzly.SelectorHandlerRunner.doSelect(
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$

The exception is quite easily to understand or guess. The port80 is already in use and grizzly simply can’t listen on the 80. Previously I met this problem as well. And when I type “localhost” in the browser address bar, it returns me the IIS default page. So I knew that the problem is IIS.

So I just needs to go to control panel and stop IIS server. However, this time, when I type “localhost” in the browser address bar, it returns me an empty page. Which means that there is indeed some program open my port 80 however, there is no index page to display. If the port 80 is no open and you type “localhost”, the browser should tell you that it is not able to connect to the server. So the next step is to find out which process is taking up my port 80. In ‘cmd’ window, type the following command:

netstat -o -n -a | findstr 0.0:80

So this is what it returns on my computer:

C:\Users\Shanison>netstat -o -n -a | findstr 0.0:80
  TCP                 LISTENING       7108
  UDP             *:*                                    7108

netstat -o option is to list the PID (process ID), so I know that the process with PID 7108 is listening on port 80. Now, go to task manager and search the process with PID 7108.

From the screen shot, we know that TVU is taking up port 80! TVU is a video streaming software. If you are searching for a free software to watch FIFA 2010 now, which almost comes to an end, you might try this software. From this, we also know that TVU is a P2P software. When you start up the program, it opens port 80 and behaves as a webserver to upload data.

23 comments on “How to check which application is using port 80 in windows

  1. Eliran on said:

    Tnx for the great guide.


    keep it up.

  2. anamaria on said:

    my cmd is not returning any details :(

  3. Hi

    Perhaps you can help me solve a silly problem. I am running a web server on an XP PC and cannot access it from a computer outside my domain. Within my domain it works fine (run “hello.html” to check). The DNS works fine and I forwarded port 80 in the router. I also checked Windows firewall and made port 80 an exception. I checked Port 80 with nmap and it is open.

    Can you give me any suggestions to analyze this.



  4. Mubasher on said:


    It was really really really helpful .

  5. shobhit on said:

    hi, i am having a problem to install wamp server on window 7, we install the wamp server correctly but when i wamp icon the icon is orange not to get green color, and my apache server is showing offline. and i do above process netstat -o -n -a | findstr 0.0:80 in cmd, the result is
    and no any pid is start number 4 how to find pid 4 and stop this process….

    • shanison on said:

      Hi it has been a few years since I used wamp servers on windows. I am working only on linux servers now. Many things might changed for wamp so I can’t really advise you how to solve the issues, but checking the logs file for wamp would be a great choice to see what’s going on?

  6. Spinx on said:

    I got a problem where NT Kernel & System was take over the port 80 , but I had to start Apache which is need port 80 , need solution pls ? ><

    • shanison on said:

      Hi Spinx,

      Check out this

  7. Nels on said:

    This is great guid. It works for me. Thanks!

  8. eric on said:

    strange i got this result TCP LISTENING 4
    but can’t find that 4 value on windows task manager

  9. Kevin on said:

    Hey when I typed in at cmd netstat -o -n -a I got a process with local adress, but when I look at task manager I can’t find it

    • shanison on said:

      Have you tried clicking on “Show processes from all users” on the task manager?

      • Asad on said:

        No i cant find.. i also try “Show processes from all users” ..
        but no result….
        cmd say 80 port listining is pid 3860,,
        but it is not in task manager,,,

  10. Amit Jog on said:

    Hey shanison…
    Thanks a ton..


  11. Thank you. Your post is very helpful.

  12. U are AWESOME man!!! :)

  13. Harsh Mehta on said:

    Awesome. Stupendous. Thanks,

  14. Roger Whittman on said:

    Very often, you will notice process ID “4″ taking port 80. You will need to stop service “web deployment agent service”. It will resolve it.

  15. chukwuemeka on said:

    nice post, really helped. thanks

  16. lawrence on said:

    Very good article. It helped me a lot. thanks.

  17. AhmedM on said:

    thank you very much
    this very good idea and it worked
    the problem was the previous Apache app it is process not stooped before deleting

Leave a Reply

Your email address will not be published. Required fields are marked *


HTML tags are not allowed.