Frappe port doesn't change

I’m trying to change frappe port from 8000 to 80. I have tried this

bench set-nginx-port 80

bench setup nginx

sudo service nginx reload

and it still remains 8000. What am I missing?

change the webserver_port in the common_site_config.json instead.

It didn’t work, The site can only be accessed on port 8000

you have to change into production:

sudo bench setup production frappe

1 Like