Question

NGINX wont start

  • Posted on January 30, 2014
  • cameron1Asked by cameron1

I install virtualmin on centos earlier, then replaced apcahe with NGINX, it worked for a while then it seemed to stop and when i restart it this is what i get below. Any ideas why ?

Failed to start service : Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 188.226.142.188:443 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 188.226.142.188:443 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 188.226.142.188:443 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 188.226.142.188:443 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 188.226.142.188:443 failed (98: Address already in use) nginx: [emerg] still could not bind() [FAILED]


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Turns out apache has turned on again

Please, struggle today with this as well. No matter if I going to put my server block conf into working version, I got this error. :(

Hi i got same issue there. and lsof -i :80 has following. how do i fix it?

nginx 9738 root 6u IPv4 25379 0t0 TCP *:http (LISTEN) nginx 9738 root 7u IPv6 25380 0t0 TCP *:http (LISTEN) nginx 9739 nginx 6u IPv4 25379 0t0 TCP *:http (LISTEN) nginx 9739 nginx 7u IPv6 25380 0t0 TCP *:http (LISTEN)