Plesk

Unable to start Apache on Plesk server: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80

Symptoms

Cause

The /etc/apache2/ports.conf file was overwritten by the package maintainer's version and uses ports 80 and 443 for http and https respectively. However, nginx is also running and uses the same ports.

Resolution

  1. Log in to the server via SSH.

  2. To reconfigure Apache to use proper ports, disable and enable nginx reverse proxy server running following commands one after another:

    # plesk sbin nginxmng --disable

    # plesk sbin nginxmng --enable

Exit mobile version