我试过删除skype,但那不工作,我试过关闭万维网的东西,IIS关闭似乎没有什么工作。

12:51:22 PM  [Apache]   Problem detected!
12:51:22 PM  [Apache]   Port 80 in use by "Unable to open process" with PID 4!
12:51:22 PM  [Apache]   Apache WILL NOT start without the configured ports free!
12:51:22 PM  [Apache]   You need to uninstall/disable/reconfigure the blocking application
12:51:22 PM  [Apache]   or reconfigure Apache and the Control Panel to listen on a different port

当前回答

将主端口80更改为8080后,您必须在控制面板中更新端口: 然后点击这里: 在这里: 然后保存并重新启动。

其他回答

对于ASP患者。NET, c#或SQL Server用户,如果您使用SQlServer或Visual Studio,您的端口可能会遇到。你可能想做的最简单的事情是在命令>服务。msc,然后找到SQl Server报表服务,然后停止它。

另一个非常简单的选项是将Apache设置为侦听不同的端口。这可以通过点击“Apache”模块同一行的“Config”按钮来完成,在下拉菜单中选择“httpd.conf”文件,然后将“Listen 80”行更改为“Listen 8080”。保存文件并关闭。

现在它避免使用端口80,而是使用端口8080,没有问题。您需要做的唯一额外的事情是确保将localhost:8080放在浏览器中,这样浏览器就知道要查看端口8080。否则它默认为端口80,不会找到您的本地站点。

这还需要重新启动Apache以使更改生效。

瞧!固定的。

由于@johnkarka对这个问题的评论,这个端口也被SQL Server报告服务使用。在停止此操作后,Apache启动正常。

进入“SQL Server配置管理器” 点击“SQL Server Reporting Service”并停止它

有趣的是,IIS在相同的配置下工作得很好,但Apache不行,必须停止SQL Reporting服务以使其在默认端口(80)上工作。

您可能需要停止“Web部署代理服务”

按Win+R,输入services.msc

右键单击Web部署代理服务,选择“停止”

重启XAMPP

双击“Web部署代理服务”后,可以将启动类型设置为“手动”,这样“Web部署代理服务”就不会自动启动

它通常工作后,你停止IIS服务器和Skype