kill localhost 3000\ code example Example: kill localhost 3000 ubuntu sudo kill -9 $(sudo lsof -t -i:3000)