windows 7 - How to find what's listening on specific port in Win7?

07
2014-07
  • Moby04

    I'd like to find out what's blocking port 80 on my system. I've found the answer here but... as the result I get "couldn't not determine owner" (or something like that - I use Polish version so exact message is "nie można uzyskać informacji o własności"). Any ideas what could I do?

    The result of netstat -a -b -o I get is:

    Protocol  Local address          Remote address        State        PID
    TCP       0.0.0.0:80             Moby04:0              Listening    4
    Nie moľna uzyska† informacji o wasnoci
    

    [edit] I try to run Apache server and verified that IIS is turned off. Also I made sure that Skype is not using this port... Also, I tried to run netstat with Admin privileges without success

  • Answers
  • barlop

    Maybe same problem with From PID:4 using Port 80

    .. 4. If it is a System Process—PID 4—you need to disable the HTTP.sys driver which is started on demand by another service, such as Windows Remote Management or Print Spooler on Windows 7 or 2008.

    There is two ways to disable it but the first one is safer:

    1.
      - Go to device manager, select “show hidden devices” from menu/view, go
          to “Non-Plug and Play Driver”/HTTP, double click it to disable it (or
          set it to manual, some services depended on it).
    
      - Reboot and use netstat -nao | find ":80" to check if 80 is still used.
    
    2.
      - Launch RegEdit.
    
      - Go to `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP`
    
      - Change the value of "start" to 4, which means disabled.
    
      - Reboot your computer.
    

    ...


  • Related Question

    networking - Listen to specific port
  • Jonathan.

    I have 2 devices (mac and an iphone), which I have programs running on that are communicating on a certain port. Is there a program that will be able to "listen in" in the ports? I have downloaded Charles Proxy but it only seems to catch web traffic.

    Or even have a computer in between the mac and the iphone, that can see what happening between the two devices?


  • Related Answers
  • squircle

    WireShark is an excellent cross-platform program that you could use to capture the traffic between these two devices. You can specify within WireShark's capture settings to listen on specific ports or traffic from specific addresses. This would have to be on the Mac, unless both the Mac and the iPhone were using a wireless connection or a hub (not a switch/router) (if so, you could use any computer connected to that access point/hub).