linux 查看端口占用

数码科技2022-04-20 02:40:57未知

linux 查看端口占用

  1、lsof -i:端口号。

  2、netstat -tunlp|grep 端口号。

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


相关推荐

猜你喜欢

大家正在看