Why does the error "(98)Address already in use: make_sock: could not bind to address [::]:80" comes up when trying to start httpd?

Solution Verified - Updated -

Issue

  • The following errors showed up when trying to start htppd :

    Starting httpd:
    
    (98)Address already in use: make_sock: could not bind to address [::]:80 
    (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 
    no listening sockets available, shutting down
    Unable to open logs
    

Environment

  • Red Hat Enterprise Linux Server
    • 5
    • 6
    • 7
    • 8
  • Red Hat JBoss Core Services
  • Apache httpd
    • 2.2
    • 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content