Can't start nginx with elasticsearch running


(wonderwhy) #1

We are running into the following issue when we try to run nginx after es is already up & running:

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

If we start nginx THEN es then everything works. How do I resolve this? We can't always choose the order of services started given we use supervisor.

thx!


(Magnus B├Ąck) #2

Elasticsearch doesn't bind to port 80 with the default settings. Either it's something else hogging the port or you yourself have configured ES to use that port.


(system) #3