我已经对此进行了大量搜索,但我遇到的解决方案都没有帮助。
首次使用Wampserver与Apache和PHP以及我的localhost显示:
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
当我通过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
我卸载了Skype,因为我发现端口80可能有问题。
我试图在httpd文档中允许访问所有权限,但没有成功。 有什么想法吗?
答案 0 :(得分:0)
您需要进入Apache并将所有端口从80更改为8080.