Linux根据端口号查看被占用的服务

2020-04-22  本文已影响0人  weworld

1.根据端口号查看pid

netstat -tunlp | grep 8082

2.根据pid查看服务名称

ps -ef | grep 42155

上一篇 下一篇

猜你喜欢

热点阅读