linux:
1、lsof -i:端口号
kill -9 PID
2、netstat -tunlp|grep 端口号
kill -9 PID
windows:
netstat -ano | findstr "端口号"
taskkill /pid PID -t -f
linux:
1、lsof -i:端口号
kill -9 PID
2、netstat -tunlp|grep 端口号
kill -9 PID
windows:
netstat -ano | findstr "端口号"
taskkill /pid PID -t -f