slloyd has asked for the wisdom of the Perl Monks concerning the following question:

Is there a way in perl so register a process with the firewall that comes with XP Service Pack 2? I have a tiny client/server application that fails since the server can no longer get out.

Thanks,
STeve

janitored by ybiC: Appended "firewall" to nodetitle, for to improve site search results

  • Comment on Register with XP Service Pack 2 Firewall

Replies are listed 'Best First'.
Re: Register with XP Service Pack 2 Firewall
by waswas-fng (Curate) on Sep 17, 2004 at 21:38 UTC
    You can do it via a shell command:
    netsh firewall add portopening TCP 80 PortName

    for instance will open up incoming port 80's. If you are taking outbound connections that should be allowed on the standard config. You may run into issues where if you open a lot of outbound connections very quickly they become throttled -- I have not found a solution to that yet.


    -Waswas
Re: Register with XP Service Pack 2 Firewall
by terra incognita (Pilgrim) on Sep 17, 2004 at 21:22 UTC
    I am not sure about registering but you can open the ports that your application uses.
A reply falls below the community's threshold of quality. You may see it by logging in.