Linux查看端口占用进程
时间:2021-03-02 12:19:11
收藏:0
阅读:0
查看程序对应的进程号:
ps -ef | grep 进程名字
查看端口号所占用的进程:
netstat -nltp | grep 端口
或者
netstat -anp | grep 端口
杀死进程
kill pid
评论(0)