# Nginx FAILED

**URL:** <https://discuss.elastic.co/t/nginx-failed/22616>\
**Category:** Elasticsearch\
**Created:** [March 11, 2015, 1:27pm UTC](https://discuss.elastic.co/t/nginx-failed/22616 "2015-03-11T13:27:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![luiz\_felipe](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@luiz\_felipe](https://discuss.elastic.co/u/luiz_felipe)\
**Post date:** [March 11, 2015, 1:27pm UTC](https://discuss.elastic.co/t/nginx-failed/22616/1 "2015-03-11T13:27:36Z")

</div>

Good Day, I found the following error when I ran the command "sudo service  
nginx restart".

Stopping the nginx: [FAILED]  
Starting nginx: nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address  
already in use)  
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)  
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)  
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)  
nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)  
nginx: [emerg] Still Could Not bind ()

would be grateful for the answer

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2f954306-3759-4eca-a90a-f916448df6a6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2f954306-3759-4eca-a90a-f916448df6a6%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 11, 2015, 2:23pm UTC](https://discuss.elastic.co/t/nginx-failed/22616/2 "2015-03-11T14:23:36Z")

</div>

Sounds like it's the wrong mailing list.

Try may be to kill the ngnix process?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 11 mars 2015 à 06:27, luiz felipe [luizfelipekap@gmail.com](mailto:luizfelipekap@gmail.com) a écrit :
> 
> Good Day, I found the following error when I ran the command "sudo service nginx restart".
> 
> Stopping the nginx: [FAILED]  
> Starting nginx: nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)  
> nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)  
> nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)  
> nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)  
> nginx: [emerg] bind () failed to 0.0.0.0:80 (98: Address already in use)  
> nginx: [emerg] Still Could Not bind ()
> 
> ## would be grateful for the answer
> 
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2f954306-3759-4eca-a90a-f916448df6a6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2f954306-3759-4eca-a90a-f916448df6a6%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/D1C7CA24-C446-4329-AE23-4FDF3006F051%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/D1C7CA24-C446-4329-AE23-4FDF3006F051%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![stp\_ra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stp_ra/32/42073_2.png) [@stp\_ra](https://discuss.elastic.co/u/stp_ra)\
**Post date:** [May 27, 2015, 3:05am UTC](https://discuss.elastic.co/t/nginx-failed/22616/3 "2015-05-27T03:05:33Z")

</div>

The issue is that nginx will fail to start if elasticsearch is already started. If I stop elasticsearch then nginx will start.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:11am UTC](https://discuss.elastic.co/t/nginx-failed/22616/4 "2017-07-06T00:11:45Z")

</div>


