啓動tomcat時端口被佔用解決方法

tomcat 啓動時端口號正在使用。錯誤信息代碼以下: java

LifecycleException :Protocol handler initialization failed: linux

java.net.BindException : Address already in use :JVM_Bind:8080 windows

如上文所述:,Tomcat 默認8080 端口。  tomcat

在windows  先輸入「netstat -ao" ,在linux 下」netstat -lp" 查看,並在任務管理器關掉相應的進程便可! .net

或者在安裝目錄的conf 目錄下的server.xml文件中,修改connector 的端口號! server

相關文章
相關標籤/搜索