简体   繁体   English

403禁止的Apache

[英]403 Forbidden Apache

I've searched a lot about this but none of the solutions I encountered helped. 我对此进行了很多搜索,但是遇到的解决方案都没有帮助。

First time using Wampserver with Apache and PHP and my localhost displays: 第一次将Wampserver与Apache和PHP一起使用,并且我的本地主机显示:

403 Forbidden. 

Forbidden
You don't have permission to access / on this server.
Apache/2.4.33 (Win64) PHP/5.6.35 Server at localhost Port 80

Also when I run httpd via cmd it shows: 另外,当我通过cmd运行httpd时,它显示:

C:\apache\bin>httpd
(OS 10048)Only one usage of each socket address (protocol/network 
address/port) is normally permitted.  : AH00072: make_sock: could not bind 
to address [::]:80
(OS 10048)Only one usage of each socket address (protocol/network 
address/port) is normally permitted.  : AH00072: make_sock: could not bind 
to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

I uninstalled Skype because I saw it might have problems with port 80. 我卸载了Skype,因为我发现它可能与端口80有关。

I've tried to Allow access all granted in httpd docs but didn't work. 我试图允许访问所有在httpd文档中授予的权限,但是没有用。 Any ideas? 有任何想法吗?

您需要进入Apache并将所有端口从80更改为8080。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM