XAMPP is not starting Apache anymore

Discussion in 'Apache' started by 9greej10, Aug 10, 2009.

  1. #1
    Hi There

    I installed XAMPP a few weeks ago and had a php website working on my localhost – all worked fine no probs. To do this I had to stop my IIS server as this was also using port:80 which is what XAMPP is set to use as default. Now for some reason when I started IIS again a few days ago to do some asp development work and then stopped it again, the apache server would not start even though I’ve definitely stopped IIS. I have tried uninstalling and re-installing XAMPP, but it still won’t start. I tried running the apache_start.bat from the command line and I got the following error message:


    "An attempt was made to access a socket in a way forbidden by its
    access permissions": make_sock: unable to listen for connections on address 0.0.0.0:80 no listening sockets available, shutting down
    Apache could not be started

    If I try and start Apache from the XAMPP control panel it just says Apache:stopped and the message in the bottom window is ERROR: Apache service not started [-1]

    I was just wondering if you had come across this problem before? If yes, how did you resolve it? Someone mentioned changing the port, but being a bit new to apache and XAMPP I’m not really sure what would need to change in what config files. Any ideas or suggestions would be greatly appreciated.

    Thanks
     
    9greej10, Aug 10, 2009 IP
  2. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #2
    kailash, Aug 11, 2009 IP