查看占用端口号的进程

例如,查看占用端口 1492 的进程,

$ lsof -i:1492

(完)

原文地址:https://www.cnblogs.com/gaowengang/p/13784046.html