安装Skype后,XAMPP apache服务器无法启动

时间:2012-12-28 18:24:11

标签: apache xampp skype

我正在关注控制台日志:

1:14:33 PM  [apache]    Possible problem detected! 
1:14:33 PM  [apache]    Port 80 in use by "c:\program files (x86)\skype\phone\skype.exe"!
1:14:33 PM  [apache]    Possible problem detected! 
1:14:33 PM  [apache]    Port 443 in use by "c:\program files (x86)\skype\phone\skype.exe"!
1:14:33 PM  [main]  Starting Check-Timer
1:14:33 PM  [main]  Control Panel Ready
1:15:10 PM  [apache]    Starting apache app...
1:15:11 PM  [apache]    Status change detected: running
1:15:11 PM  [apache]    Status change detected: stopped

它说'检测到状态变化:正在运行'到'停止'。 我试过:

  • 关闭内部网络的Windows防火墙
  • 在两个位置的httpd.conf文件中将端口80更改为99收听:80和ServerName localhost:80
  • 将httpd.conf文件中的端口443更改为445,位于相同的两个位置。
  • Apache服务器未在我的计算机上安装为Windows服务。
  • 今天的日期没有生成错误或访问日志。

8 个答案:

答案 0 :(得分:117)

进入skype-> tools-> options-> advanced和UN-check使用端口80& 443。

答案 1 :(得分:53)

在与Skype合作时发生这种情况,因此关闭Skype不是一种选择。

一种可能的解决方案是更改XAMPP用于Apache的端口。

1。更改 Apache(httpd.conf)

转到XAMPP控制面板,单击Apache模块的 Config ,然后单击 Apache(httpd.conf)

XAMPP Control Panel -> Click Config for the Apache module

Click Apache (httpd.conf) in the new window

现在将在XAMPP设置中配置的编辑器中打开配置文件(Windows默认为notepad.exe)。打开搜索工具,然后搜索80。应该有两行包含80,如端口号80:

Listen 80
ServerName localhost:80

现在用开放端口替换80。我使用了8080

Listen 8080
ServerName localhost:8080

2。更改 Apache(httpd-ssl.conf)

需要使用SSL配置重复相同的过程。重复上述步骤,但转到 Apache(httpd-ssl.conf)。替换以下行中的端口号:

Listen 443
<VirtualHost _default_:443>
ServerName www.example.com:443

我选择4433


完成。点击Apache的开始,Apache应该会正常运行。不过,在我看来,错误仍然会出现。

答案 2 :(得分:49)

转到Skype -> Tools -> Options -> Advanced -> Connection

Goto skype -> Tools -> Options -> advanced -> Connection

Simply Uncheck use port 80 checkbox

之后,重启Skype。

答案 3 :(得分:5)

打开Skype设置并取消选中“将端口80用作传入”选项 port'然后我必须以管理员身份启动XAMPP服务器'。

答案 4 :(得分:0)

它说Skype正在使用端口80.我会禁用Skype,然后启动你的网络服务器。

答案 5 :(得分:0)

请使用以下命令的输出更新您的帖子,不要忘记更正路径:

C:\> path\to\xampp\apache\bin\httpd.exe

我认为现在它不是端口冲突问题,因为你已经改变了端口。

顺便说一句,你可以在skype中change the settings不使用端口80和443,在新版本中应该有一些更改,但你应该能够找到它。 :)

答案 6 :(得分:0)

获得Skype&gt;&gt;工具&gt;&gt;选项&gt;&gt;高级并删除检查(使用端口80和443)。

答案 7 :(得分:0)

自Skype 2019起,他们不再使用端口80,因此对Xampp无效。 如果您的计算机上发生了此问题,请尝试通过以下方式禁用万维网发布服务:

  1. 打开CMD
  2. 输入services.msc
  3. 停止此服务:万维网发布服务

重新启动Apache

相关问题