查看端口占用以及kill

 

1、查看8000端口占用情况
lsof -i:8000

2、kill pid
kill -9 pid

 

posted @ 2020-12-21 11:08  test1024  阅读(120)  评论(0)    收藏  举报