我需要查找我的 mac 上的端口 9000 上是否有任何应用程序正在运行。
为了查找端口 9000 上是否有任何进程在运行,请在终端中使用以下命令>> netstat -vanp tcp | grep 9000
sudo lsof -i :9000
-i 将列出使用提到的端口的应用程序
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.