时尚男士

linux 查看端口占用

时尚男士 https://www.nanrens.com 2023-02-08 06:46 出处:网络 编辑:@时尚男士
1、lsof -i:端口号。 2、netstat -tunlp|grep 端口号。 都可以查看指定端口被哪个进程占用的情况。

linux 查看端口占用

1、lsof -i:端口号。

2、netstat -tunlp|grep 端口号。

都可以查看指定端口被哪个进程占用的情况。


0

精彩评论