Error: uvicorn.Error: [ERRNO 98] Dirección ya en uso
sudo lsof -t -i tcp:8000 | xargs kill -9
ABhakuni
sudo lsof -t -i tcp:8000 | xargs kill -9
#find the process using the port
lsof -i :8000
#and kill it
kill -9 process_id