方法一lsof -i:端口号,这个很简单,也很好记,比如查看80端口被谁占用lsof -i:80: 很明显被nginx占用了。 方法二netstat -tunlp可查看当前活动网络连接(查看所有为netstat -anp): [root@iZ94i7kwlagZ ~]# netstat -tunlpActive Internet connections (only servers)Pro... 阅读全文
@2018-03-01
Linux基础
浏览(4274)