根据端口号查询进程,杀死进程

netstat -lnp       查询所有使用端口中的进程

netstat -lnp | grep 20880     过滤某一个端口的进程

原文地址:https://www.cnblogs.com/keefer/p/6188451.html