As the title says, I\'m running multiple game servers, and every of them has the same name but different PID and the port number. I would
name
PID
port
Syntax:
kill -9 $(lsof -t -i:portnumber)
Example: To kill the process running at port 4200, run following command
kill -9 $(lsof -t -i:4200)
Tested in Ubuntu.