linux关闭端口对应的程序

比如有程序占用5500端口,相应的命令为:

sudo kill -9 $(sudo lsof -t -i:5500)

 

posted @ 2022-08-11 15:52  Shiyu_Huang  阅读(152)  评论(0编辑  收藏  举报