Mac查看端口

lsof -i tcp:port

eg:

  lsof -i tcp:8899

原文地址:https://www.cnblogs.com/itdev/p/6379519.html