How can I stop a symfony process which is listening on http://127.0.0.1:8000
This works on Symfony 5. Open the integrated terminal inside VSCode.
First stop the running local server:
symfony local:server:stop
Then start a new one:
symfony server:start
Open your browser and navigate to: 127.0.0.1:8000
If the command symfony is not recognized, then you need to install the Symfony as instructed here: Install Symfony