windows杀进程
-
通过端口号找到进程的pid,然后杀掉pid
-
taskkill -f -pid 进程号
-
netstat -aon|findstr 端口号
linux杀进程
-
netstat -aon|findstr 端口号
- ps -ef | grep 端口号 kill -9 pid
通过端口号找到进程的pid,然后杀掉pid
taskkill -f -pid 进程号
netstat -aon|findstr 端口号
netstat -aon|findstr 端口号