使用netstat命令查看端口占用情况

netstat -tln

查看什么程序占用端口

netstat -tlnp

过滤端口

netstat -tlnp |grep  8080

杀掉进程

kill -9

05-11 15:50