XAMPP 3.1.0无法正常工作,因为端口80正在使用中。我环顾四周,这似乎是一个常见的问题。我已经停止了IIS,skype没有运行,web部署代理服务正在运行,我已经根据这个问题的第二个答案更改了Apache的httpd.conf的配置来监听端口80:XAMPP PORT 80 is Busy / EasyPHP error in Apache configuration file:但是仍然没有运气。以下是XAMPP控制面板中的错误消息:
2:03:49 PM [Apache] Problem detected!
2:03:49 PM [Apache] Port 80 in use by "system"!
2:03:49 PM [Apache] Apache WILL NOT start without the configured ports free!
2:03:49 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
2:03:49 PM [Apache] or reconfigure Apache to listen on a different port
2:03:49 PM [Apache] XAMPP Apache is already running on port 443
2:03:49 PM [mysql] MySQL Service detected with wrong path
2:03:49 PM [mysql] Change XAMPP MySQL settings or
2:03:49 PM [mysql] Uninstall/disable the other service manually first
2:03:49 PM [mysql] Found Path: ERROR: Not Able To Open Service Manager
2:03:49 PM [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql
2:03:49 PM [mysql] Problem detected!
2:03:49 PM [mysql] Port 3306 in use by "mysqld.exe"!
2:03:49 PM [mysql] MySQL WILL NOT start without the configured ports free!
2:03:49 PM [mysql] You need to uninstall/disable/reconfigure the blocking application
2:03:49 PM [mysql] or reconfigure MySQL to listen on a different port
2:03:49 PM [Tomcat] Problem detected!
2:03:49 PM [Tomcat] Port 8080 in use by "c:\xampp\apache\bin\httpd.exe"!
2:03:49 PM [Tomcat] Tomcat WILL NOT start without the configured ports free!
2:03:49 PM [Tomcat] You need to uninstall/disable/reconfigure the blocking application
2:03:49 PM [Tomcat] or reconfigure Tomcat to listen on a different port
当我转到localhost时,即使服务在控制面板中停止,它也会将我带到IIS7屏幕。
答案 0 :(得分:6)
在提升的命令提示符下使用netstat -bano
,以查看哪些应用正在侦听哪些端口。
但通常,以下应用程序在Windows中使用端口80:
IIS
World Wide Web Publishing service
IIS Admin Service
SQL Server Reporting services
Web Deployment Agent Service
停止正在运行的上述任何应用程序。您可以在任务管理器的“服务”选项卡上执行此操作。
答案 1 :(得分:2)
在此链接上查看The Computer Hugger的答案(我希望它有所帮助) work by Apache and port 80
如果没有,请尝试关注,因为它有助于我的情况: 错误的原因是SQL Reporting服务正在使用Apache使用的PORT 80。禁用SQL Reporting Services自动启动肯定会解决问题。
停止SQL Reporting Service,启动,然后键入管理工具,单击名称,选择计算机管理,然后选择服务和应用程序> SQL Server配置>服务与查找SQL Reporting Servicves,将其设置为手动启动,然后停止。
重启你的XAMPP服务器,希望你好好去:)
答案 2 :(得分:1)
我在Windows 8上安装XAMPP后出现此错误:
[Apache] You need to uninstall/disable/reconfigure the blocking application
[Apache] or reconfigure Apache to listen on a different port
这是我采取的措施:
转到Windows Update并确保已处理所有Windows更新。
重新启动计算机。并启动XAMPP控制面板。然后错误消失并显示:
[main] Windows Version: Windows 8 Pro 64-bit
[main] XAMPP Version: 1.8.3
[main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
[main] You are not running with administrator rights! This will work for
[main] most application stuff but whenever you do something with services
[main] there will be a security dialogue or things will break! So think
[main] about running this application with administrator rights!
[main] XAMPP Installation Directory: "c:\xampp\"
[main] Checking for prerequisites
[main] All prerequisites found
[main] Initializing Modules
[main] Starting Check-Timer
[main] Control Panel Ready
所以有一些警告,但它开始没问题。