日期:2014-05-16  浏览次数:20739 次

linux下端口占用的解决办法

[root@ucit ~]# lsof -i:80
COMMAND??? PID USER?? FD?? TYPE DEVICE SIZE NODE NAME
java????? 1839 root?? 43u? IPv6 113135?????? TCP *:http (LISTEN)
firefox-b 2758 root?? 50u? IPv4 117693?????? TCP ucit:19479->tx-in-f155.1e100.net:http (ESTABLISHED)
[root@ucit ~]# kill -9 1839
[root@ucit ~]# lsof -i:80
[root@ucit ~]#