laravel - How can I kill the current php artisan serve session before starting a new one?
one text
Solution:
I think you can close the terminal, and then the port automatically gets killed.
But if that does not work, you can kill the process manually by running this command :
kill $(lsof -t -i:8000)
Source