查看linux中某个端口(port)是否被占用

xiaoxiao2021-02-28  118

> 1.使用lsof lsof -i:端口号查看某个端口是否被占用


> 2.使用netstat 使用netstat -anp|grep 80


然后:kill

转载请注明原文地址: https://www.6miu.com/read-21445.html

最新回复(0)