Forum Discussion

BDuffey's avatar
BDuffey
Copper Contributor
Mar 22, 2024

Running python/flask app on IIS using ASP.Net Core Module handler

Looking for insight into running/flask app using a modern/maintained method.

 

wfastcgi is essentially deprecated (version 3.0.0 was released 7 years ago).

HttpPlatform handler was replaced by the asp.net core module even before that (2016).

 

I’ve made some progress using the ASP.Net Core Module handler - but when I try to launch the app I get an error:

Application ‘/LM/W3SVC/1/ROOT’ with physical root 'C:\inetpub\wwwroot' failed to start process with commandline ‘“C:\Python312\python.exe” C:\inetpub\wwwroot\app.py’ with multiple retries. Failed to bind to port ‘11905’. First 30KB characters of captured stdout and stderr logs from multiple retries:

Nothing in the python log.

 

Any feedback appreciated.

No RepliesBe the first to reply

Resources