zl程序教程

您现在的位置是:首页 >  系统

当前栏目

Linux 结束占用端口的程序

Linux程序 端口 占用 结束
2023-09-14 08:57:00 时间

[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 ~]#