Softaculous


Topic : Apache won't start


Posted By: supanut2000 on October 28, 2011, 3:06 am
It use to work fine, until it stops working. MySQL starts fine, but Apache won't start. Here's a CMD log when I run httpd.exe via Command Prompt.

C:\Program Files\Ampps\apache\bin>httpd
(OS 10013)An attempt was made to access a socket in a way forbidden by its acces
s permissions.  : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

C:\Program Files\Ampps\apache\bin>
Any idea on how to fix this?

Posted By: tidus on October 28, 2011, 8:50 am | Post: 1
Quote From : supanut2000 October 28, 2011, 3:06 am
It use to work fine, until it stops working. MySQL starts fine, but Apache won't start. Here's a CMD log when I run httpd.exe via Command Prompt.

C:\Program Files\Ampps\apache\bin>httpd
(OS 10013)An attempt was made to access a socket in a way forbidden by its acces
s permissions.  : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

C:\Program Files\Ampps\apache\bin>
Any idea on how to fix this?


Hi,

We have replied to your ticket.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack

Posted By: tidus on October 29, 2011, 8:07 am | Post: 2
Hi,

Please let us know if you need any further information.

And for the people who face similar problem in future, the solution is disabling IIS as IIS uses port 80.


Edited by tidus : December 16, 2011, 5:57 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack

Posted By: frayler on December 14, 2011, 10:31 pm | Post: 3
I have the same error below:
C:\Program Files\Ampps\apache\bin>httpd

(OS 10013)An attempt was made to access a socket in a way forbidden by its acces

s permissions.  : make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down

Unable to open logs


I disabled all IIS services to no avail. Is there anything else I need to do or a complete removal of IIS 7 is require?

Posted By: tidus on December 15, 2011, 6:32 am | Post: 4
Quote From : frayler December 14, 2011, 10:31 pm
I have the same error below:
C:\Program Files\Ampps\apache\bin>httpd

(OS 10013)An attempt was made to access a socket in a way forbidden by its acces

s permissions.  : make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down

Unable to open logs


I disabled all IIS services to no avail. Is there anything else I need to do or a complete removal of IIS 7 is require?


Hi you will have to uninstall IIS.

If you don't know who is listening port 80, type following command in command prompt

Code
C:\Users\Admin>netstat -aon | findstr 0.0:80
  TCP    0.0.0.0:80            0.0.0.0:0              LISTENING      1964


Last column displays the PID of the process.

Open Task Manager -> Process Tab -> View(Menu Bar) -> Select Column -> Check PID -> Ok

Search for PID listed from the command, you should get the corresponding process name listening port 80.



-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack

Posted By: frayler on December 15, 2011, 7:49 pm | Post: 5
Did a complete uninstall of IIS and continue to get the same error. PID 4 (System) is listed as listening on port 80, description is NT Kernel & System.

Posted By: tidus on December 16, 2011, 5:51 am | Post: 6
Quote From : frayler December 15, 2011, 7:49 pm
Did a complete uninstall of IIS and continue to get the same error. PID 4 (System) is listed as listening on port 80, description is NT Kernel & System.


try disabling Webclient and Web Deployment Agent Service from Services.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack

Posted By: EcomEvo on August 15, 2012, 4:13 pm | Post: 7
Hi!

I'm having this same problem.  IIS isn't installed and Web Client is disabled.  When I check the for which process is using port 80 it shows PID 3092, which is not is the process list even with processes from all users checked.

Any ideas?

Posted By: EcomEvo on August 15, 2012, 4:17 pm | Post: 8
Nevermind.  Figured this out.

Apparently the default for Skype is to use port 80.  I unchecked that option in advanced settings and restarted Skype. Now Apache works.

Hope this helps someone else! :)

Posted By: EcomEvo on November 15, 2012, 2:25 pm | Post: 9
OK, so I DID have this figured out, then I installed Windows 8. Now I'm having the same problem and this time Skype is not to blame. Can't find any installation of IIS or the Web Deployment Agent Service. Webclient is disabled.

Any other ideas as to what could be taking over port 80? :(

Posted By: EcomEvo on November 15, 2012, 2:35 pm | Post: 10
Correction: IIS was installed!

It was being run under the name "World Wide Web Publishing Service" in Windows 8. Disabled that and AMPPS starts right up.

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.