我试过删除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

当前回答

所以我在尝试启动Apache服务时也遇到了同样的问题,我想与大家分享我的解决方案。 以下是关于可能使用端口80的服务或程序的一些注意事项:

Skype: Skype uses port 80/443 by default. You can change this from Tools -> Options -> Advanced -> Connections and disable the checkbox "use port 80 and 443 for addtional incoming connections". IIS: IIS uses port 80 be default so you need to shut it down. You can use the following two commands: net stop w3svc, net stop iisadmin. SQL Server Reporting Service: You need to stop this service because it may take port 80 if IIS is not running. Go to local services and stop it. VMware Workstation: If you are running VMware Workstation, you need to stop the VMware Workstation server - port 443 as well.

这些选项与我一起工作,我可以启动Apache服务而没有错误。

另一个选项是将Apache监听端口从httpd.conf更改,并设置另一个端口号。

希望这个解决方案能帮助那些再次面临同样问题的人。

其他回答

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

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

如果服务是http.sys . conf

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

Netsh HTTP添加iplistipaddress =::

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

我也有这个问题,停止使用端口80的服务没有帮助。我通过以下程序解决了这个问题(在一个法国板上找到的):

启动注册表编辑器 HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ \ HTTP服务 将start的值改为4(禁用) 重新启动计算机

不知道这对其他服务有什么影响,但它永久性地解决了这个问题,到目前为止我还没有看到任何问题。

Windows 10操作系统。

我也遇到过同样的问题,当我安装MS WebMatrix时,IIS服务器阻塞了XAMPP正在运行的80端口。我试图找到万维网出版服务并停止它,但在列表中找不到它。最好的方法是更改端口。

请参考这个 链接ref。

“SQL Server报表服务”在我的系统中导致问题,停止后,Apache开始工作正常