linux 下查看某个端口是否工作的命令

1、netstat

netstat -an | grep 8080

2、lsof

lsof -i:8080

原文地址:https://www.cnblogs.com/gergro/p/2763279.html