Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amonmoce/de31176d05315d7711295882ecbb0a3a to your computer and use it in GitHub Desktop.
Save amonmoce/de31176d05315d7711295882ecbb0a3a to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment