查询端口号 2019-08-08 本文已影响0人 lvyz0207 查询端口是否被占用,被哪个进程占用有两种方式: 1、netstat -anl | grep "80" ; 2、lsof -i:80 终止进程的方式: kill pid