Skip to content

Instantly share code, notes, and snippets.

@gangsta
Last active May 21, 2017 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gangsta/3fb1f2fbe0072eb7303d743311ef3d78 to your computer and use it in GitHub Desktop.
Save gangsta/3fb1f2fbe0072eb7303d743311ef3d78 to your computer and use it in GitHub Desktop.
httpd , apache shows 443 is already in use?

Error

systemctl restart httpd

(98)Address already in use: AH00072: make_sock: could not bind to address [::]:443

Solution

grep -ir "^listen" /etc/httpd/*
/etc/httpd/conf/httpd.conf:Listen 80
/etc/httpd/conf.d/ssl.conf:Listen 443 https
/etc/httpd/conf.modules.d/00-ssl.conf:Listen 443
That's not a file that anything in CentOS that I know of supplies. 
You can see if it belongs to an rpm by using rpm -qf /etc/httpd/conf.modules.d/00-ssl.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment