Address already in use: make_sock: could not bind to address 0.0.0.0:80

Happens with httpd with ssl and key with passphrase

Simply find the httpd process, kill it, restart from shell and insert passphrase

  1. netstat -ltnp | grep ‘:80’    (use sudo if u’re not root)
  2. the result is something like “tcp        0      0 0.0.0:80                       0.0.0.0*                        LISTEN      1524/httpd”
  3. kill -9 1524   (use sudo if not root)
  4. service httpd restart (and insert ssl pwd)
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s