Instead of using wfastcgi to host your Python web server on IIS…

You can also check out another approach that simply starts your Python application, and redirect HTTP ports like a reverse proxy: Configure Python web apps for IIS#Configure the HttpPlatform handler.

There are several pitfalls if you are using wfastcgi, most notably, the FastCGI scriptProcessor name generated by wfastcgi-enable is incorrect if your Python executable path contains whitespace (e.g., “Program Files”).

Content is available under CC BY-SA 3.0 unless otherwise noted.