Listen on port 8080 on localhost

gunicorn

gunicorn --bind {{localhost}}:{{8080}} {{import.path:app_object}}

click the source code to copy install gunicorn on any operating system with command-not-found.com