Do Server work while i dont connect? If yes how can i do?

I deployed my django app in ubuntu server. I want to give to API for mobile application. So i followed some source and i deployed. For I want to deploye django, I use gunicorn and ngnix.

Server is working with this command:

gunicorn --bind 0.0.0.0:8000 myapp.wsgi

I can give API with this way. Everything is okey.

But when i close cmd which connected to server, server stop. Can server work while i dont connect by my computer? Must not close cmd and my computer? Or can i do other way?

follow this guide and don't miss any steps: I switched our postgres for mysql:

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04

Back to Top