MAC OSX

你可以输入下面的命令来查看IPv4端口:(最好加 sudo)

  # lsof -Pnl +M -i4

原文地址:https://www.cnblogs.com/SZLLQ2000/p/5179257.html