bench start method for starting bench is for setting up development environment. Kill it with CTRL+C.
For production deployment use nginx, supervisor
In production deployment where nginx and supervisor are up on boot. Use command bench doctor to check status of production deployed bench.
Configured ports:
For production setup where port based multi-tenent is configured, run command bench setup nginx
to generate frappe-bench/config/nginx.conf with configured ports.
Port for site is set in site_config.json of the site by running command bench set-nginx-port sitename 80
site_config.json after port is set to 80:
{
"db_password": "dbpassword",
"db_name": "dbname",
"nginx_port": 80
}