Not able to run elasticsearch on IP other than localhost

I want to run the elasticsearch on different IP other than localhost which can be operated outside any other network. Is is possible to do so? I am using Linux 64 bit operating system with elasticsearch version 6.3. Any help/suggestion is much appreciated.

I have made changes to elasticsearch.yml to run it on any specified IP but it is throwing exception as below:
[2018-07-31T13:34:54,576][DEBUG][o.e.a.ActionModule ] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2018-07-31T13:34:54,917][INFO ][o.e.d.DiscoveryModule ] [eCLCZaA] using discovery type [zen]
[2018-07-31T13:34:55,751][INFO ][o.e.n.Node ] [eCLCZaA] initialized
[2018-07-31T13:34:55,752][INFO ][o.e.n.Node ] [eCLCZaA] starting ...
[2018-07-31T13:34:55,934][INFO ][o.e.t.TransportService ] [eCLCZaA] publish_address {OTHERIP:9300}, bound_addresses {OTHERIP:9300}
[2018-07-31T13:34:55,954][INFO ][o.e.b.BootstrapChecks ] [eCLCZaA] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2018-07-31T13:34:55,966][ERROR][o.e.b.Bootstrap ] [eCLCZaA] node validation exception
[2] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.

About your question, yes you can but here most likely you have to fix the bootstrap checks.
Please read https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html

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