【问题标题】:WAMPSERVER on windows 8 not startingWindows 8 上的 WAMPSERVER 无法启动
【发布时间】:2014-06-01 08:29:15
【问题描述】:

我刚刚在我的 WIN 8 机器上安装了 WAMPSERVER (Apache/2.4.9 (Win64)),当试图启动它时,它的图标总是红色/橙色(不是绿色)。从服务尝试运行服务时,我看到以下错误消息:

从偶数日志中,我看到以下多个错误

The wampapache64 service terminated with the following service-specific error: 
Incorrect function.

The Apache service named  reported the following error:
>>> (OS 10013)An attempt was made to access a socket in a way forbidden by its access        permissions.  : AH00072: make_sock: could not bind to address 0.0.0.0:80 

The Apache service named  reported the following error:
>>> (OS 10013)An attempt was made to access a socket in a way forbidden by its access   permissions.  : AH00072: make_sock: could not bind to address [::]:80    

The Apache service named  reported the following error:
>>> AH00015: Unable to open logs    

The Apache service named  reported the following error:
>>> AH00451: no listening sockets available, shutting down  

The wampapache64 service terminated with the following service-specific error: 
Incorrect function.  

The Apache service named  reported the following error:
>>> (OS 10013)An attempt was made to access a socket in a way forbidden by its access  permissions.  : AH00072: make_sock: could not bind to address [::]:80.

【问题讨论】:

  • 你有同时运行Skype吗?
  • 1024 以下的端口通常是为特权用户保留的。您是否尝试过以管理员身份运行它?
  • 是的,我正在运行 Skype,我已取消选中“使用端口 80 和 443 作为传入连接的替代方案”的框,但它不起作用。
  • 我也尝试从管理员命令提示符运行它。但它让我跟随错误。 (OS 10013) 试图以访问权限禁止的方式访问套接字。 : AH00072: make_sock: 无法绑定到地址 [::]:80 (OS 10013) 尝试以访问权限禁止的方式访问套接字。 : AH00072: make_sock: 无法绑定到地址 0.0.0.0:80 AH00451: 没有可用的监听套接字,正在关闭 AH00015: 无法打开日志

标签: wampserver


【解决方案1】:

好的,我发现:我机器的 80 端口被 IIS 使用,而不是 Skype。以下是我的发现:

左键单击 WAMPManager 图标以显示菜单。单击 Apache服务测试端口 80。 这将启动一个命令窗口并显示一些有关使用端口 80 的信息(如果有的话)。您可以在 http://forum.wampserver.com/read.php?2,122527 找到更多详细信息。

配置 Apache 监听不同的端口
因为我想继续在端口 80 上运行 IIS,所以我决定在不同的端口上运行我的 WAMP 服务器。这就是我的做法。

我必须更改 http.conf 文件,在我的情况下,该文件位于文件夹 C:/WAMP/bin/apache/apache2.4.9/conf/ 中。打开它(例如使用记事本)并搜索80。我不得不在不同的地方更改以下三行:

Listen 0.0.0.0:80         # Changed to Listen 0.0.0.0:81
Listen [::0]:80           # Changed to Listen [::0]:81
ServerName localhost:80   # Changed toServerName localhost:81

现在我在 Windows 8 上获得了 WAMP Server 的绿色图标。

更多详情请关注http://forum.wampserver.com/read.php?2,13744

【讨论】:

  • 这很好用。 Skype 使用端口 80,尽管 cmd 没有准确显示它。
  • 您也可以通过转到服务 -> 万维网发布服务 -> 属性 -> 停止来关闭 IIS。然后将启动类型设置为手动
【解决方案2】:

如果您正在运行 Skype,那么您必须在 Skype 中执行以下操作:在菜单栏中,单击 工具选项高级设置强> ► 连接。现在取消选中以下复选框:

使用端口 80 和 443 作为传入连接的替代项

【讨论】:

  • 好的,我想通了。我机器的 80 端口被 IIS 使用,而不是 SKYPE。
  • 对我来说 Skype 是问题所在。感谢您的回答!
  • 冠军,谢谢队友。这对 Skype 来说毫无用处!
【解决方案3】:

我也遇到过同样的问题。

我退出了 Skype 应用程序并从任务管理器启动了 wampapache64 服务,这对我有用。

【讨论】:

    猜你喜欢
    • 2017-12-11
    • 2016-08-14
    • 1970-01-01
    • 1970-01-01
    • 2014-11-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多