查看某个端口号是否被占用:三种方法

ps –ef |grep XXXX

===========================================================

netstat -anp|grep XXXX

//a顺序 n数字 p端口

===========================================================

lsof -i XXXX

//i数字端口

猜你喜欢

转载自blog.csdn.net/ViJayThresh/article/details/82153943