XAMPP:端口问题

时间:2016-02-11 16:09:06

标签: php apache xampp ports

我试图运行XAMPP,但由于一些端口冲突,我不得不改变我的端口 当我现在尝试启动它时,我收到以下消息:

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

尽管有这样的消息,Apache似乎也能正常工作,即使端口是正确的:

apache

另外,我可以使用http://localhost:8080/访问它。

所以我必须担心这条消息吗?

1 个答案:

答案 0 :(得分:0)

您是否已将httpd.conf中的行listen 80更改为listen 8080?这应该解决错误消息。像往常一样,在更改后重新启动Apache以应用它。

忽略那个关于Skype的人,它可能是在后台运行的IIS / WWW发布服务(开始>运行> services.msc并停止万维网发布服务,如果它的话运行)。

如果您最近在Windows 10平台上安装了Xampp或升级了安装,则Windows 10中默认启用WWW服务,我遇到了同样的问题。