Unable to run Apache under Windows: An attempt was made to access a socket in a way forbidden by its access permissions
23,580
Solution 1
That were MS SQL reporting services:https://www.sitepoint.com/unblock-port-80-on-windows-run-apache/
Solution 2
I am not sure who is still struggling with the issue. But for me stopping the iis server helped. Windows server will always give a priority on the port 80 to IIS. Stopping the server helped
Related videos on Youtube
Author by
Dims
Software developer & Machine Learning engineer C/C++/Java/C#/Python/Mathematica/MATLAB/Kotlin/R/PHP/JavaScript/SQL/HTML/ LinkedIn: http://www.linkedin.com/in/dimskraft Telegram: https://t.me/dims12 I prefer fishing rod over fish.
Updated on September 18, 2022Comments
-
Dims over 1 year
When I am trying to run apache on windows, I receive a following error:
D:\Apps\Apache\bin>D:\Apps\Apache\bin\httpd.exe (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 (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 0.0.0.0:80 AH00451: no listening sockets available, shutting down AH00015: Unable to open logs
Port
80
is occupied byPID
4D:\Apps\!Hack>netstat -aon Active Connections Proto Local Address Foreign Address State PID TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 1040 TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 8380
Pid 4 is
System
.What next?
-
Asqan over 3 yearsAnd here you see how to do that: superuser.com/questions/1377068/…