Linux下查看tomcat佔用端口

一、先查看tomcat的進程號tomcat ps -ef | grep tomcat*spa 後面帶*號,是爲了查看多個tomcat,例如tomcat6,tomcat7。進程 二、根據進程號查看端口號grep netstat -anop | grep 15161 im 能夠看到886五、886六、8867端口號被佔用 img 三、此外,還能夠經過端口號,查看其所屬的進程號相關信息端口 lsof -
相關文章
相關標籤/搜索