我正在使用XAMPP1.8.1,但在启动时,由于Tomcat 7使用了端口8080,因此apache服务无法启动,
使用时:netstat -aon | findstr“8080”找到它显示的进程 Apache Tomcat Tomcat7正在使用8080。
过去1个月,apache工作正常。
XAMPP控制面板中显示的错误是:
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
答案 0 :(得分:0)
这里有两种选择。 1.如果你只想要8080端口,你可能需要杀死正在使用8080端口[apache tomcat]的进程。 2.为XAMPP服务器分配一个新的端口地址。
答案 1 :(得分:0)
停止tomcat7并尝试重新启动apache服务器,有时像skype这样的系统服务也可能使用相同的端口号。首先禁用所有其他程序并运行apache。