Xampp 1.8.1: Apache cannot start in port 8080, which is being used by tomcat 7

╄→гoц情女王★ 提交于 2019-12-25 12:13:36

问题


I am using XAMPP1.8.1 but while starting it, the apache service is not starting because of port 8080 being used by Tomcat 7,

when used: netstat -aon | findstr "8080" to find the process it showed Apache Tomcat Tomcat7 is using 8080.

for last 1 month the apache was working fine.

The error shown in XAMPP control panel is :

4:20:14 PM  [main]  Initializing Modules

4:20:14 PM  [Apache]    **Problem detected!**

4:20:14 PM  [Apache]    **Port 80 in use by "system"!**

4:20:14 PM  [Apache]    **Apache WILL NOT start without the configured ports free!**

4:20:14 PM  [Apache]    **You need to uninstall/disable/reconfigure the blocking application**

4:20:14 PM  [Apache]    or reconfigure Apache to listen on a different port

4:20:14 PM  [mysql]     XAMPP MySQL Service is already running on port 3306

4:20:14 PM  [filezilla] XAMPP FileZilla FTP Server Service is already running on port 21

4:20:14 PM  [filezilla] XAMPP FileZilla FTP Server Service is already running on port 14147

4:20:14 PM  [Tomcat]    XAMPP Tomcat Service is already running on port 8005

4:20:14 PM  [Tomcat]    **XAMPP Tomcat Service is already running on port 8080**

4:20:14 PM  [Tomcat]    XAMPP Tomcat Service is already running on port 8009

回答1:


You have two options over here. 1.You probably need to kill the process which is using the 8080 port[apache tomcat]if you want 8080 port only. 2.Assign a new port address to XAMPP server.




回答2:


stop the tomcat7 and try to restart the apache server, sometimes system services like skype may also use the same port number. disable all other programs first and run the apache.



来源:https://stackoverflow.com/questions/22477400/xampp-1-8-1-apache-cannot-start-in-port-8080-which-is-being-used-by-tomcat-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!