linux如何查看端口被哪个进程占用

来源:互联网 发布:java接口文档模板 编辑:程序博客网 时间:2024/05/17 04:02

1、lsof -i:端口号

2、netstat -tunlp|grep 端口号

原创粉丝点击