Address already in use error in Apache HTTPD

Solution Verified - Updated -

Issue

  • The following errors showed up when trying to start 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 
    
    (98)Address already in use: make_sock: could not bind to address [::]:443
    (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
    
    no listening sockets available, shutting down
    Unable to open logs
    
    AH00526: Syntax error on line XXXX of /etc/httpd/conf.d/ssl.conf:
    Cannot define multiple Listeners on the same IP:port
    

Environment

  • Red Hat Enterprise Linux Server (RHEL)
  • Red Hat Enterprise Software Collections (RHSCL)
  • Red Hat JBoss Core Services (JBCS)
  • Apache Web Server (HTTPD)

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