Whenever I try to restart my apache2 service it shows an error like this:
service apache2 restart Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
I thought that there might be some errors while package installation and tried sudo apt purge apache2 and then sudo apt install apache2 but that didn't solved the problem.
The log file shows:
Address already in use: could not bind to address 0.0.0.0:80