从Xampp启动Apache服务时出错

从Xampp启动Apache服务时出错,apache,xampp,port,Apache,Xampp,Port,在我的笔记本电脑上安装新版本的Xampp后,我出现以下错误: 来自控制面板的错误日志: 9:24:26 AM [Apache] Problem detected! 9:24:26 AM [Apache] Port 80 in use by "Unable to open process" with PID 4! 9:24:26 AM [Apache] Apache WILL NOT start without the configured ports free! 9:24

在我的笔记本电脑上安装新版本的Xampp后,我出现以下错误:

来自控制面板的错误日志:

9:24:26 AM  [Apache]    Problem detected!
9:24:26 AM  [Apache]    Port 80 in use by "Unable to open process" with PID 4!
9:24:26 AM  [Apache]    Apache WILL NOT start without the configured ports free!
9:24:26 AM  [Apache]    You need to uninstall/disable/reconfigure the blocking application
9:24:26 AM  [Apache]    or reconfigure Apache and the Control Panel to listen on a different port
9:24:26 AM  [Apache]    Attempting to start Apache app...
9:24:26 AM  [Apache]    Status change detected: running
9:24:27 AM  [Apache]    Status change detected: stopped
9:24:27 AM  [Apache]    Error: Apache shutdown unexpectedly.
9:24:27 AM  [Apache]    This may be due to a blocked port, missing dependencies, 
9:24:27 AM  [Apache]    improper privileges, a crash, or a shutdown by another method.
9:24:27 AM  [Apache]    Press the Logs button to view error logs and check
9:24:27 AM  [Apache]    the Windows Event Viewer for more clues
9:24:27 AM  [Apache]    If you need more help, copy and post this
9:24:27 AM  [Apache]    entire log window on the forums
Netstat的输出

  TCP    0.0.0.0:80             MW70VRC49LC8OO:0       LISTENING
  TCP    0.0.0.0:135            MW70VRC49LC8OO:0       LISTENING
  TCP    0.0.0.0:445            MW70VRC49LC8OO:0       LISTENING
  TCP    0.0.0.0:8000           MW70VRC49LC8OO:0       LISTENING
  TCP    0.0.0.0:8883           MW70VRC49LC8OO:0       LISTENING
  TCP    0.0.0.0:12680          MW70VRC49LC8OO:0       LISTENING
  TCP    0.0.0.0:49152          MW70VRC49LC8OO:0       LISTENING
  TCP    0.0.0.0:49153          MW70VRC49LC8OO:0       LISTENING
  TCP    0.0.0.0:49154          MW70VRC49LC8OO:0       LISTENING
  TCP    0.0.0.0:49155          MW70VRC49LC8OO:0       LISTENING
  TCP    0.0.0.0:49158          MW70VRC49LC8OO:0       LISTENING
  TCP    10.23.121.46:139       MW70VRC49LC8OO:0       LISTENING
  TCP    127.0.0.1:4242         MW70VRC49LC8OO:0       LISTENING
  TCP    127.0.0.1:60544        MW70VRC49LC8OO:0       LISTENING
  TCP    [::]:80                MW70VRC49LC8OO:0       LISTENING
  TCP    [::]:135               MW70VRC49LC8OO:0       LISTENING
  TCP    [::]:445               MW70VRC49LC8OO:0       LISTENING
  TCP    [::]:8000              MW70VRC49LC8OO:0       LISTENING
  TCP    [::]:8883              MW70VRC49LC8OO:0       LISTENING
  TCP    [::]:49152             MW70VRC49LC8OO:0       LISTENING
  TCP    [::]:49153             MW70VRC49LC8OO:0       LISTENING
  TCP    [::]:49154             MW70VRC49LC8OO:0       LISTENING
  TCP    [::]:49155             MW70VRC49LC8OO:0       LISTENING
  TCP    [::]:49158             MW70VRC49LC8OO:0       LISTENING
我甚至从Skype>Options>Advanced>Connection>Untick选项中禁用了端口80443:将端口80和443用作传入连接的备选端口。我知道Skype和Xampp与端口存在冲突问题,因此我被告知从Skype禁用它

因为我有另一台笔记本电脑,而且我在上面安装和启动Apache模块没有任何问题,所以我需要先进行配置


如果您能在这方面提供帮助,我将不胜感激。

我相信我可能已经找到了解决方案。由于Web服务器正在使用端口80,因此我可能建议更改端口


因此,我编辑了
Apache(httpd.conf)
文件,并更改了以下行:
Listen 80
到另一个端口号(例如82)。

发布netstat-a | find/I“list”的输出“我是否复制它并将其粘贴到Shell程序中?”?我对Xampp有点陌生。没有充分研究它的功能等等。是的,从命令shell运行它。@EugenRieck我已经用输出编辑了我的问题。请验证该输出是否正确。好的,我们现在可以确定,另一个Web服务器正在端口80上运行。您需要删除它或将Apache移动到另一个端口。因为这是一个WAMP版本的升级,所以“W”告诉我先重新启动并重试。