How to solved Address already in use: AH00072: make_sock: could not bind to address [::]:443 httpd centOS 7

If you get error httpd : Apr 06 18:24:40 www.domain.com httpd[382]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443
there are file .conf di /etc/httpd/conf.d are listen port 443.

use this command to check :

[root@www ssl.crt]# grep -ir "^listen" /etc/httpd/*
/etc/httpd/conf/httpd.conf:Listen 80
/etc/httpd/conf/httpd.conf.backup:Listen 80
/etc/httpd/conf.d/andalasmedia-ssl.conf:Listen 443 https
/etc/httpd/conf.d/ssl.conf:Listen 443 https

Rename file ssl.conf to ssl.conf-backup.
# mv /etc/httpd/conf/ssl.conf /etc/httpd/conf/ssl.conf.backup

Restart service httpd.
# systemctl restart httpd

Comments