查看端口被哪个进程占用:
$ lsof -i tcp:1099
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 806 sunyk 166u IPv6 0x3c31649016e2b52b 0t0 TCP *:rmiregistry (LISTEN)
查看端口被哪个进程占用:
$ lsof -i tcp:1099
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 806 sunyk 166u IPv6 0x3c31649016e2b52b 0t0 TCP *:rmiregistry (LISTEN)
本文标题:查看端口被哪个进程占用
本文链接:https://www.haomeiwen.com/subject/dwrmwxtx.html
网友评论