查看端口

1、查看使用端口进程

lsof -i: 端口号

2、释放进程

kill 你的PID

3、再次执行第一步,是否无进程占用

lsof -i: 端口号
posted @ 2020-02-12 16:32  ToDarcy  阅读(167)  评论(0编辑  收藏  举报