kill -9 $(lsof -ti:3000) For multiple ports: kill -9 $(lsof -ti:3000,3001)

Read more