📅  最后修改于: 2022-03-11 14:59:45.245000             🧑  作者: Mango
for linux
$ lsof -i tcp:3000
$ kill -9 PID
the first command should give you the PID number to enter in the second command as PID.