linux系统端口查看和占用的解决方案

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

netstat -tln

查看什么程序占用端口 

netstat -tlnp

过滤端口 

netstat -tlnp |grep  8080

杀掉进程

kill -9

 

posted @ 2016-09-24 15:44  信则成  阅读(511)  评论(0编辑  收藏  举报