linux查看占用端口号的程序及pid

netstat -tunlp|grep 端口号


圈出来的就是pid

原文地址:https://www.cnblogs.com/jichi/p/11743576.html