is it possible that you have another Elasticsearch process running on this machine? Can you just stop your server and check if you still get a response? If yes, then somewhere on your system another Elasticsearch process is still running. Alternatively you can also check with ps.
Thank you for your response Daniel.
With ps aux I could find only one process called "elastic+".
After killing it, curl 'localhost:9200'did not work as expected (Connection refused).
ok, just double checking: You did install Elasticsearch from the deb package, didn't you? Can you please set temporarily in your elasticsearch.yml:
http.port: 10200
Then restart the node and issue curl 'localhost:10200'? I am just curious whether this is the correct config file (it should be for the deb package...).
Thanks Daniel, I found my mistake (very stupid and trivial as I assumed...).
I searched my disk for all files that could be duplicated but nothing. There is only one conf file as it should be.
I changed the config file with port 10200 like you said, but port 9200 works, not 10200. So the config was ignored somehow.
Then it hit me that the lines were still commented out... So stupid...
Thank you for your time Daniel, you put my mind on the right tracks.
I hope at least I made you laugh a bit : )
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.