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

If you get following error, when you try to start nginx…

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

Then it means nginx or some other process is already using port 80.

You can kill it using:

sudo fuser -k 80/tcp

And then try restarting nginx again:

service nginx start

11 responses to “[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)”

  1. Thanks, I’ve been looking in different sites but this works to me.

    Thanks again.
    K.

  2. I got Oops! Google Chrome could not connect to 198.199.104.115
    Try reloading: 198.­199.­104.­115
    After following this