Linux下查看tomcat占用端口

一、先查看tomcat的进程号tomcat ps -ef | grep tomcat*spa 后面带*号,是为了查看多个tomcat,例如tomcat6,tomcat7。进程 二、根据进程号查看端口号grep netstat -anop | grep 15161 im 能够看到886五、886六、8867端口号被占用 img 三、此外,还能够经过端口号,查看其所属的进程号相关信息端口 lsof -
相关文章
相关标签/搜索