Apache的80端口错误 [英] Apache port 80 error

查看:353
本文介绍了Apache的80端口错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图运行WAMP的服务器,但我认为Apache越来越东西堵住端口80。

我做了一些研究,发现在事件查看器它给人的错误:


  

    

      

(OS 10013)试图通过其访问权限不允许的方式来访问的插座。 :AH00072:make_sock:无法绑定到地址[::]:80


    
  

我在-ao netstat的,这给了4唯一的问题是一个PID抬头0.0.0.0:80,对我的任务管理器没有为4的PID。有谁知道什么可能占用了80端口,或如何我可能算出这个?

先谢谢了。

编辑:

是的,我的确从停用Skype的港口,它是正确转发。这开始发生时,我安装了IIS我想,但我想我摆脱它。(是的,我没有在控制面板中禁用)

编辑:

OK,我只是改变了港口的配置,一切都很好。不知道我为什么没有想到,原本。


解决方案

有2种方法来解决这个问题。
 1.如果你想在另一个端口运行Apache,则:在XAMPP /阿帕奇/ conf目录替换/ httpd.conf文件服务器名本地主机:80以ServerName本地主机:81在184线后,即使它可能不work.Then替换

  #Listen 0.0.0.0:80
 #Listen [:]:80
 听80

  #Listen 0.0.0.0:81
#Listen [:]:81
听81

在第45行

2.您端口80正被用于由系统或Skype。如果由Skype然后冷杉退出Skype和运行Apache。你可以重启Skype。


  1. 在Windows的万维网发布服务正在使用此端口,并停止该服务将释放的80端口,您可以使用此端口连接的Apache停止服务进入任务管理器 - >服务选项卡吧点击万维网发布服务并停止。

  2. 如果你没有发现有再然后进入运行> SERVICES.MSC,并再次找到那里,右键单击万维网发布服务,并stop.Insha真主,将工作。

  3. 如果您没有找到万维网发布服务没有然后去
    润>> resmon.exe >>网络选项卡>>侦听端口,看看哪些
    进程正在使用端口80

和由概览>> CPU只是在这一过程中右键单击,然后单击结束进程树。如果该过程是系统可能是一个关键问题。

I'm trying to run a WAMP server, but i think Apache is getting port 80 blocked by something.

I did some research and found that in the event viewer it gives the 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 .

i looked up 0.0.0.0:80 on netstat -ao, which gave a PID of 4. The only problem is, there is nothing with a PID of 4 on my task manager. Does anyone know what might be taking up port 80, or how i might figure this out?

Thanks in advance.

EDIT:

Yes, i did deactivate the port from Skype, and it is forwarded correctly. This started happening i think when I installed IIS, but i thought i got rid of it.(yes i did disable it in control panel)

EDIT:

OK, i just changed the port in the config, all is well. Dont' know why i didn't think of that originally.

解决方案

There are 2 ways to solving this problem. 1. If you want to run Apache in another port then:Replace in xampp/apache/conf/httpd.conf ServerName localhost:80 by ServerName localhost:81 At line 184. After that even it may not work.Then replace

 #Listen 0.0.0.0:80
 #Listen [::]:80
 Listen 80 

by

#Listen 0.0.0.0:81
#Listen [::]:81
Listen 81

at line 45

2.Your port 80 is being used by the system or skype. If by skype then firs quit skype and run Apache. And you can restart skype.

  1. In Windows "World Wide Publishing" Service is using this port and stopping this service will free the port 80 and you can connect Apache using this port. To stop the service go to the "Task manager –> Services tab", right click the "World Wide Publishing Service" and stop.
  2. If you don't find there then Then go to "Run > services.msc" and again find there and right click the "World Wide Publishing Service" and stop.Insha Allah that will work.
  3. If you didn't find "World Wide Publishing Service" there then go to "Run>>resmon.exe>> Network Tab>>Listening Ports" and see which process is using port 80

And from "Overview>>CPU" just Right click on that process and click "End Process Tree". If that process is system that might be a critical issue.

这篇关于Apache的80端口错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆