This error occurs when a port is already occupied by another process.
Find What's Using the Port
ss -tulnp | grep :80
lsof -i :80Solutions
- Stop the conflicting service:
systemctl stop apache2 # If Nginx needs port 80 - Kill the process:
kill $(lsof -t -i :80) - Change the port: Configure your application to use a different port