4

XAMPP 3.1.0 不工作,因为端口 80 正在使用中。我环顾四周,这似乎是一个常见问题。我已经停止了 IIS,skype 没有运行,web 部署代理服务正在运行,我已经更改了 Apache 的 httpd.conf 的配置以根据这个问题的第二个答案监听端口 80:XAMPP PORT 80 is Busy / Apache 配置文件中的 EasyPHP 错误:但仍然没有运气。以下是 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 屏幕。

4

3 回答 3

6

在提升的命令提示符中使用netstat -bano以查看哪些应用正在侦听哪些端口。

但通常,以下应用程序在 Windows 中使用端口 80:

IIS
World Wide Web Publishing service
IIS Admin Service
SQL Server Reporting services
Web Deployment Agent Service

停止上述任何正在运行的应用程序。您可以在任务管理器的服务选项卡上执行此操作。

于 2013-08-09T09:45:00.027 回答
2

请参阅此链接上 The Computer Hugger 的答案(我希望它有帮助) 由 Apache 和端口 80 工作

如果没有,请尝试以下操作,因为它对我的情况有所帮助:错误的原因是 SQL 报告服务正在使用 Apache 使用的 PORT 80。禁用 SQL Reporting Services 自动启动肯定会解决问题。

停止 SQL 报告服务,开始,然后键入管理工具,单击名称,选择计算机管理,然后选择服务和应用程序> SQL Server 配置> 服务并查找 SQL 报告服务,将其设置为手动启动,然后停止。

重新启动您的 XAMPP 服务器,希望您一切顺利 :)

于 2013-03-10T17:59:32.330 回答
1

在 Windows 8 上安装 XAMPP 后,我也遇到了这个错误:

[Apache]    You need to uninstall/disable/reconfigure the blocking application
[Apache]    or reconfigure Apache to listen on a different port

这是我为解决它所做的:

  1. 转到 Windows 更新并确保已处理所有 Windows 更新。

  2. 重新启动计算机。并启动 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
    

所以一些警告,但它开始正常。

于 2013-07-27T16:00:57.133 回答