XAMPP中Apache突然无法启动

今天开电脑,打开XAMPP,突然appach启动不了了。昨天还好好的,很是郁闷!

找了一下原因如下:

打开Aapche的日志文件error.log。发现有如下的错误日志记录

[Thu Jan 09 16:30:00 2014] [notice] Digest: generating secret for digest authentication ...

[Thu Jan 09 16:30:00 2014] [notice] Digest: done

[Thu Jan 09 16:30:04 2014] [notice] Child 8228: Child process is running

[Thu Jan 09 16:30:04 2014] [notice] Child 8228: Acquired the start mutex.

[Thu Jan 09 16:30:04 2014] [notice] Child 8228: Starting 150 worker threads.

[Thu Jan 09 16:30:04 2014] [notice] Child 8228: Starting thread to listen on port 443.

[Thu Jan 09 16:30:04 2014] [notice] Child 8228: Starting thread to listen on port 8090.

[Thu Jan 09 16:30:04 2014] [notice] Child 8228: Starting thread to listen on port 8080.

[Thu Jan 09 16:30:04 2014] [notice] Child 8228: Starting thread to listen on port 80.

[Thu Jan 09 17:40:00 2014] [notice] Parent: child process exited with status 1073807364 -- Restarting.

是不是昨天弄了什么东西把443端口给占了。

通过cmd命令行直接查看有无程序占用0.0.0.0:443:

1、运行cmd,然后输入netstat -ano,回车;
2、查看开头几行包含0.0.0.0:443的那一行最后的pid,为几个数字,把这几个数字记下来;
3、启动“任务管理器”——“进程”,在“工具栏查看选项卡”——“选择列”前面的框里打上勾;
4、然后找到与刚才那个pid对应的是哪个程序,很容易就会找到,就是它与0.0.0.0:443进行了绑定(bind);


原来是我昨天安装了VMware Workstation 把443端口占了。

杀掉进程,或者改掉443端口就可以了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值