I develop on serveral projects at once.
If I run the runserver
twice, I get this error:
System check identified no issues (0 silenced).
September 10, 2021 - 10:44:26
Django version 3.1.4, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Error: That port is already in use.
I know that I can supply a different port manually, but a more automatic approach would be nice.
How could I solve this clash without manually giving each project a port by hand?
I have more than 50 systems on my laptop, and I don't want to give them each a port number by hand.