Saturday, June 07, 2014

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

I have already apache web server installed. Then i am going to install nginx. After installation i gonna start nginx server but failed! and shows mw the following message:

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

The issue is arise due to apache web server. Because i already run this within port 80. So the issue is fixed when i stop apache web server process and then start  again nginx web server. I followed the bellow command in terminal:

sudo service apache2 stop

sudo service nginx start

The above fixed my issue!

No comments:

Post a Comment