As at the start of the web server to run the method that will listen on the port to stop the web server?

Good day,

I have a question I have a website on Django, as when you start the web server to run a method that will listen to the specific port to stop the web server.

October 3rd 19 at 02:13
2 answers
October 3rd 19 at 02:15

Maybe you need something like that?

October 3rd 19 at 02:17

You are going to use this in a real project, or so to indulge? Just how, I hear Django is extremely not recommended to use your server because of performance issues/security. So I would recommend to configure this feature from the front of the web server(Apache/Nginx)

Find more questions by tags DjangoPython