In practice, if port 8000 is already running another Django project, a second runserver command doesn’t raise an error — instead it also runs on the same port (8000). This causes conflicts and unexpected behavior, since multiple projects are competing for the same port.
Feature request:
It would be much more helpful if Django automatically picked the next available port (8001, 8002, …) instead of silently reusing 8000.
Expected output could look like this:
System check identified no issues (0 silenced).
September 28, 2025 - 09:14:29
Django version 5.2.4, using settings 'saas.settings'
Starting development server at http://127.0.0.1:8001/
Port 8000 is already in use.
Quit the server with CTRL-BREAK.
This way, developers can run multiple projects in parallel — similar to React or Vite dev servers — without conflicts, and without making Django heavier.
In any case, I think this idea is a very bad idea. Having the runserver jump port silently is much worse than the current behavior of producing an error. The issue you seem to have is that you don’t get the intended error.
Currently, if we run runserver on several projects, it does not give any error and it runs on one port at the same time (8000).
Now we have the goal to run run server in another project, it will be 8001
And it will start up with this message: 8000 is in use.
Understand that. But the behavior you are describing is not the behavior I see on linux or macos. So something is weird. That is why I am asking you what OS this is.