Running elasticsearch on a v-server



I'm trying to run elasticsearch on a v-server that has a private ip adress bound to it's interface which translates into a public ip address. So how do I configure elasticsearch properly in order to reach elasticsearch both locally and externally?

Thanks in advance!

(Mark Walkom) #2

Just use, so it'll bound to anything.


So it would be right?

(Mark Walkom) #4

Yep :slight_smile:


I have tried that before.

When I edited the config file and restarted the service, the service was up for 10 seconds and then another
service elasticsearch status
command showed me
[FAIL] elasticsearch is not running ... failed!

(Mark Walkom) #6

What do your ES logs show then?


That's also a thing I don't understand.

When I do: cat /var/log/elasticsearch/elasticsearch.log

I get log output from 10 hours ago...So I don't know how I can send you a log from the current situation.

(Mark Walkom) #8

If you changed the cluster name then the log file will be a different name.


Wow, okay, didn't know that, thank you very much!

There was an issue with the memory going on, everything is working now.

Thanks again! :slight_smile:

(system) #10

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