MENU

Linux 关闭指定端口服务进程

January 18, 2022 • Api接口

swoole调试由于开启了进程守护,导至报错,关掉进行就,在重新启动就不会了

1、查看我的 swoole 监听端口号 1888

netstat -anp | grep 1888

1594106900446026.png

2、关掉进行

kill -9 29854

29854 就是图中的进程号