2009/10/12 Bhushan Inamdar <[email protected]>: > Hey all, I got a console after I ran the application that mentioned that it > was starting the server...and then I got the windows firewall message and I > had to click unblock. > Do I need to close the port once I am done or is it done automatically?
When a program stops, the operating system cleans up all its resources, including closing TCP/IP connections and sockets. The program remains registered by the windows firewall as being a program that is allowed to listen to TCP ports. > Will I get the firewall popup for every application I run? No. Only the first time when you start the application. > Will I get those popups while working with web hosting servers like Apache? Apache has afaik the same 'issue'. Either it registers it with the firewall at installation time, or you'll get this question. > Is there a way that I can host those apps on Apache? Use apache as a reverse proxy frontend for your Wt applicdation, or deploy Wt as a fcgi application (fcgi is not supported on Windows). > Generally, it is not a good idea to open ports manually but let firewall > handle it. Does wt have anything that tells firewall that it is safe to open > ports for this application so that I do not get that popup? Or is it only > specific to a directory like virtual directory? It's the way the windows firewall works, we can't do anything about it. Every application that listens on a public port must be 'registered' before it is allowed to do so. If you install different firewall software, you may not receive those questions. If you want to avoid it alltogether, let your Wt applications listen on http-address=127.0.0.1 (iso 0.0.0.0) and you'll not be bugged by this question (but you'll only be able to reach your application from your local computer). Regards, Wim. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
