netstat -apn |grep 8080
结果:
tcp6 0 0 :::8080 :::* LISTEN 8867/java
8867 为进程号
netstat -apn |grep 8080
结果:
tcp6 0 0 :::8080 :::* LISTEN 8867/java
8867 为进程号