stut.io

nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

In case of following errors, when you start nginx:

nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

This means nginx or some other process is already using port 80

Just kill it using:

sudo fuser -k 80/tcp

And then start nginx again:

service nginx start