Linux 端口查看是否被占用

lsof -i:80 # netstat -apn | grep 80
kill -9 pid # kill 进程pid

Leave a Reply