Connection refused & apache

I am getting the following error when i attempt to do the curl command to test

curl: (7) Failed to connect to localhost port 9200: Connection refused

I did not install ngix as I have apach2 installed

can i run everything and apache2 on the same server?


can you please invest some more time in writing up your question. This question is pretty unclear. I cannot extract the concrete problem here.

Is your problem, that you cannot connect to Elasticsearch under localhost:9200? If so, have you checked that the elasticsearch service is running using systemd or sysvinit? Is it even listening on that interface?

And how does nginx or apache come into play here from your point of view? You can run on the same server (another question is if you should).

Looking forward to help.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.