我试过删除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后,您必须在控制面板中更新端口: 然后点击这里: 在这里: 然后保存并重新启动。

其他回答

打开任务管理器(Ctrl+Alt+Delete)。 进入“详细信息”页签。 按PID编号排序。 结束使用错误的PID编号的进程。 重启XAMPP。

以管理员身份打开CMD提示符并执行以下命令: 净止损为/y 打开运行对话框(按Win+R),然后键入:services.msc 然后搜索万维网发布服务(WWW-Publishing Service)和Web部署代理服务并停止它们。您还应该禁用它们。 用XAMPP重新启动Apache:)

链接编号:https://www.sitepoint.com/unblock-port-80-on-windows-run-apache/

我也遇到过同样的问题,但在我的情况下Apache已经在运行,由于某种原因XAMPP配置工具没有显示这一点。它发生在我安装后第一次启动XAMPP之后。在其他Apache实例崩溃后,一切正常,端口80和443再次空闲。

因此,在对系统进行更改之前,请确保没有发生上述明显的情况。

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

按Win+R,输入services.msc

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

重启XAMPP

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

如果服务是http.sys . conf

需要修改http.sys的绑定IP地址

Netsh HTTP添加iplistipaddress =::

无需重启操作系统即可正常工作。