0

New Django learner here! I have a Django web page that I want to run continuously. This is what I do to start the server in cmd.

manage.py runserver 0.0.0.0:80

This starts the server and then I keep it running in the background. When I start working over it the next day, it gives me a connectivity issue which I resolve by Ctrl-C followed by that same runserver command again. Then it works normal again. Bear in mind that I do not lose connectivity to the internet of any sort( if it matters, I guess).

Is there a specific setting that keeps doing this and if yes how could I configure it so that I do not have to restart the server every day?

FYI, the python code and webpage work fine as expected. Just needed help so that I can avoid the every day task of restarting the server. I also do not receive any error logs that mention if my server was killed or not.

Anurag Joshi
  • 300
  • 1
  • 12

0 Answers0