AH00072: make_sock: could not bind to address 0.0.0.0:80 Nginx / Apache Origin: Edge & web server OSI layer 4 · Transport Last updated 5 Nov 2026

Apache: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 / AH00015: Unable to open logs

Another process (Nginx, another Apache, Skype/IIS-like service) already listens on the port Apache wants.

Exact message you may see (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80AH00072: make_sock: could not bind to address [::]:80AH00015: Unable to open logsno listening sockets available, shutting down(98)Address already in use: AH00072
Seen on: Apache Linux

Meaning

Find the owner: sudo ss -ltnp | grep ':80', stop or reconfigure it (change Listen in ports.conf), and start Apache again. A leftover Apache process from a crash can also hold the port: sudo pkill apache2 then start.

Common causes

  • Nginx or another web server already on port 80/443
  • Stale Apache child processes
  • Duplicate Listen directives (80 twice)
  • Docker container publishing the port
  • Hot restart race

⚡ Quick fix

  1. sudo ss -ltnp | grep -E ':80|:443'
  2. Stop the other service or change Listen
  3. Remove duplicate Listen lines

Detailed fix by platform

Linux

  1. sudo ss -ltnp | grep ':80 ' && sudo systemctl stop nginx

How to diagnose

  1. Owner — Which process?
  2. Listen — Duplicates?
  3. Stale — Old Apache?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Edge & web server. Errors that are often confused with or caused by this one (click to open):

.htaccess: Invalid command (500 Internal Server Error) — Apache: [core:alert] /var/www/html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration (Nginx / Apache).htaccess: Invalid co…AH00015: Unable to open logs — Apache: AH00091: apache2: could not open error log file /var/log/apache2/error.log. AH00015: Unable to open logs (Permission denied) (Nginx / Apache)AH00015: Unable to op…AH00112: DocumentRoot does not exist — Apache: AH00112: Warning: DocumentRoot [/var/www/example.com/public_html] does not exist (Nginx / Apache)AH00112: DocumentRoot…AH00288: scoreboard is full, not at MaxRequestWorkers — Apache: [mpm_event:error] AH00288: scoreboard is full, not at MaxRequestWorkers. Increase ServerLimit (Nginx / Apache)AH00288: scoreboard i…AH00526: Syntax error on line of apache config — Apache: AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/site.conf: Invalid command 'Foo', perhaps misspelled or defined by a module not included in the server configuration (Nginx / Apache)AH00526: Syntax error…AH00548: NameVirtualHost has no effect — Apache: [core:warn] AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/ports.conf:5 (Nginx / Apache)AH00548: NameVirtualH…AH00558 — Apache: AH00558: apache2: Could not reliably determine the server's fully qualified domain name (Nginx / Apache)AH00558Apache shows PHP source or downloads .php files — Browser shows <?php code or downloads index.php — mod_php / PHP-FPM handler not configured in Apache (Nginx / Apache)Apache shows PHP sour…AH00072: …

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.