security - Configure Windows firewall to prevent an application from listening on a specific port

29
2013-07
  • U-D13

    The issue: there are many applications struggling to listen on port 80 (Skype, Teamviewer et al.), and to many of them that even is not essential (in the sense that you can have a httpd running and blocking the http port, and the other application won't even squeak about being unable to open the port). What makes things worse, some of the apps provide no way to configure the app not to use specific ports (that's what you get for using proprietary software) - you can either add it to Windows Firewall exceptions (and succumb to undesired port opening behavior) or not (and risk losing most - if not all - of the functionality).

    Technically, it is not impossible for the firewall to deny an application opening an incoming port even if the application is in the exception list. And if this functionality is built into the Windows Firewall somewhere, there should be a way to activate it.

    So, what I want to know is:

    1. whether there exists such an option,
      and if it does
    2. how to activate it.

    EDIT: I wouldd like to stress that I am talking about the Windows Firewall version that is bundled with Windows XP.

  • Answers
  • U-D13

    After giving it a second thought, I realized that most likely this won't work, because as far as I know Windows firewall just blocks inbound packets. It never prevents an application opening a port for listening, just blocks the incoming traffic, if the port is not in the exceptions list.

    Am I right or am I wrong? Any opinions on this?



  • view all most popular Amazon Coupons
    .

    Related Question

    Outpost Firewall asks every time one specific application tries to access to network
  • sergdev

    One of installed applications on my PC tries to send UDP packed.

    Outpost warns me about this. I say that Outpost should allow all activity for this application.

    But next time application wants to send UDP packed Outpost asks me again and again the same question.

    There is no problems with other applications but with this only.

    Is it possible to resolve such behavior or is it known bug?

    I have installed Outpost Firewall Pro 2009 Version 6.5.3 (2518.381.0686)


  • Related Answers
  • Kelbizzle

    OMG I hated that problem! I couldn't figure out why it did it until I started using Comodo and it would do the same thing.

    You have to go into the application and specifically allow the program.