lsof
Linux: how to kill process listening to the port
To list any process listening to the port 9000 $lsof -i:9000 To kill any process listening to the port 9000 $kill -9 $(lsof -t -i:9000)
To list any process listening to the port 9000 $lsof -i:9000 To kill any process listening to the port 9000 $kill -9 $(lsof -t -i:9000)