ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache)

    IT Discussion
    apache
    2
    8
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wirestyle22W
      wirestyle22
      last edited by wirestyle22

      I tried to take a snapshot of my Plex server today and it timed out and was unresponsive. A hard reset was necessary. when I powered it back on I noticed that my httpd service wasn't running.

      apache1.png

      As you can see the apachectl configtest came back OK, so the syntax is correct. I've never run into this error before.

      I attempted to look this up and a lot of it points to virtual hosts which I'm not using.

      coliverC 1 Reply Last reply Reply Quote 0
      • coliverC
        coliver @wirestyle22
        last edited by

        @wirestyle22 said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):

        I tried to take a snapshot of my Plex server today and it timed out and was unresponsive. A hard reset was necessary. when I powered it back on I noticed that my httpd service wasn't running.

        apache1.png

        As you can see the apachectl configtest came back OK, so the syntax is correct. I've never run into this error before.

        I attempted to look this up and a lot of it points to virtual hosts which I'm not using.

        There is something already bound to port 80. That's why it isn't starting back up.

        wirestyle22W 1 Reply Last reply Reply Quote 1
        • wirestyle22W
          wirestyle22 @coliver
          last edited by

          @coliver said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):

          @wirestyle22 said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):

          I tried to take a snapshot of my Plex server today and it timed out and was unresponsive. A hard reset was necessary. when I powered it back on I noticed that my httpd service wasn't running.

          apache1.png

          As you can see the apachectl configtest came back OK, so the syntax is correct. I've never run into this error before.

          I attempted to look this up and a lot of it points to virtual hosts which I'm not using.

          There is something already bound to port 80. That's why it isn't starting back up.

          Yeah I'm looking for where it's located. Seems to be an issue with my httpd.conf binding to port 80 from any ip. I believe i need to specify.

          1 Reply Last reply Reply Quote 0
          • coliverC
            coliver
            last edited by

            sudo netstat -tulpn | grep LISTEN
            

            Should get you an idea of what is running on that port.

            1 Reply Last reply Reply Quote 2
            • wirestyle22W
              wirestyle22
              last edited by

              So in my case there was lighttpd installed for some reason and it was attempting to bind to the same port which makes sense. I guess just by chance I had never run into this before. Weird

              coliverC 1 Reply Last reply Reply Quote 0
              • coliverC
                coliver @wirestyle22
                last edited by

                @wirestyle22 said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):

                So in my case there was lighttpd installed for some reason and it was attempting to bind to the same port which makes sense. I guess just by chance I had never run into this before. Weird

                Have you checked your ssh logs and history to see if someone has logged in and was serving something odd?

                wirestyle22W 2 Replies Last reply Reply Quote 0
                • wirestyle22W
                  wirestyle22 @coliver
                  last edited by

                  @coliver said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):

                  @wirestyle22 said in Address Already in Use AH00072: make_sock could not bind to address 0.0.0.0:80 (Apache):

                  So in my case there was lighttpd installed for some reason and it was attempting to bind to the same port which makes sense. I guess just by chance I had never run into this before. Weird

                  Have you checked your ssh logs and history to see if someone has logged in and was serving something odd?

                  Yeah, no one has logged in. I must've been testing something and forgot about it.

                  1 Reply Last reply Reply Quote 0
                  • wirestyle22W
                    wirestyle22 @coliver
                    last edited by

                    Thanks btw @coliver. Appreciate the help.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post