# Not able to run elastic search on Server IP

**URL:** <https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725>\
**Category:** Elasticsearch\
**Created:** [February 9, 2019, 4:37pm UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725 "2019-02-09T16:37:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 9, 2019, 4:37pm UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/1 "2019-02-09T16:37:49Z")

</div>

HI ,

I am new on ElasticSearch and trying to configure it on Fedora VM, Host machine is Windows 10 Pro.  
Elastic search ver. 6.6.0  
i am able to run elastic search with KIbana on Localhost:9200.  
but if change "network.host" to **network.host: 0.0.0.0** in elasticsearch.yml then it completely stop working even on localhost.  
my aim is to access it on my host machine via url and do R&D then prepare solution design with it for a very heavy search based application.

i need to explore it for all aspect of an application like security, backup, restore etc. i am already behind schedule and new to Linux environment as well.  
logs  
**_Feb 09 21:59:03 localhost.localdomain systemd[1]: Started Elasticsearch._**  
**\_ Feb 09 21:59:03 localhost.localdomain elasticsearch[15340]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be\>\_**  
**\_ Feb 09 21:59:34 localhost.localdomain systemd[1]: elasticsearch.service: Main process exited, code=exited, status=78/CONFIG\_**  
**\_ Feb 09 21:59:34 localhost.localdomain systemd[1]: elasticsearch.service: Failed with result 'exit-code'.\_**

please help.  
thank you  
Dheeraj Kumar

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 9, 2019, 6:25pm UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/2 "2019-02-09T18:25:38Z")

</div>

Could you share elasticsearch logs? Please format it with markdown or `</>` icon.

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 10, 2019, 7:12am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/3 "2019-02-10T07:12:25Z")

</div>

i hope this is what you meant

```
Feb 10 12:25:50 localhost.localdomain systemd[1]: Started Elasticsearch.
Feb 10 12:25:53 localhost.localdomain elasticsearch[1167]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Feb 10 12:25:21 localhost.localdomain systemd[1]: elasticsearch.service: Main process exited, code=exited, status=78/CONFIG
Feb 10 12:25:21 localhost.localdomain systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
Feb 10 12:36:42 localhost.localdomain systemd[1]: Started Elasticsearch.
Feb 10 12:36:42 localhost.localdomain elasticsearch[3526]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Feb 10 12:37:18 localhost.localdomain systemd[1]: elasticsearch.service: Main process exited, code=exited, status=78/CONFIG
Feb 10 12:37:18 localhost.localdomain systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 10, 2019, 7:33am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/4 "2019-02-10T07:33:49Z")

</div>

In terms of formatting yes.  
But not elasticsearch logs. Have a look at the log dir.

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 10, 2019, 7:37am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/5 "2019-02-10T07:37:50Z")

</div>

I just copied log from there only 🙂

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 10, 2019, 7:45am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/6 "2019-02-10T07:45:58Z")

</div>

I have uploaded whole folder from /var/log/elasticsearch at[this link](https://taazaa1-my.sharepoint.com/:u:/g/personal/dheeraj_kumar_taazaa_com/EQqOE-Pt9gRHqKdwpDPRJ-AB9D1MDFizLZ9O4896-SILKQ?e=gvLp5l)

Let me know if you need anything else

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 10, 2019, 7:58am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/7 "2019-02-10T07:58:21Z")

</div>

Is it the content of `elasticsearch.log` file? I suspect it's not. Could paste here that content?

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 10, 2019, 8:00am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/8 "2019-02-10T08:00:04Z")

</div>

i already uploaded that content to cloud and gave the link in previous reply , let me knoe if you can't access it

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 10, 2019, 8:33am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/9 "2019-02-10T08:33:19Z")

</div>

I can't read from my mobile.

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 10, 2019, 8:36am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/10 "2019-02-10T08:36:18Z")

</div>

oh , those logs are from /var/logs/elasticsearch/elsticsearch.log  
ok let me do one thing , i will delete all the content from this log file using texteditor and then try to start the service.  
then i will copy all the logs from there and paste that here , i think that will be readable for you

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 10, 2019, 8:45am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/11 "2019-02-10T08:45:09Z")

</div>

output of "sudo journalctl --unit elasticsearch --since "2019-02-09 00:17:16""

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/4/9409bcbe6fe094ce8357aabb9424d72ca0ab68fd.png)

am i looking at wrong thing here ?

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 10, 2019, 9:58am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/12 "2019-02-10T09:58:01Z")

</div>

did meant these

```
 [2019-02-10T15:24:40,789][INFO][o.e.e.NodeEnvironment] [vendorNode001] using [1] data paths, mounts [[/ (/dev/mapper/fedora-root)]], net usable_space [37.6gb], net total_space [48.9gb], types [ext4]
    [2019-02-10T15:24:40,791][INFO][o.e.e.NodeEnvironment] [vendorNode001] heap size [3.9gb], compressed ordinary object pointers [true]
    [2019-02-10T15:24:40,805][INFO][o.e.n.Node] [vendorNode001] node name [vendorNode001], node ID [yIFlywf7SxeWV1Uu8K3elA]
    [2019-02-10T15:24:40,806][INFO][o.e.n.Node] [vendorNode001] version[6.6.0], pid[7983], build[default/rpm/a9861f4/2019-01-24T11:27:09.439740Z], OS[Linux/4.18.16-300.fc29.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/11-ea/11-ea+28]
    [2019-02-10T15:24:40,806][INFO][o.e.n.Node] [vendorNode001] JVM arguments [-Xms4g, -Xmx4g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-8202124475548401032, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Djava.locale.providers=COMPAT, -XX:UseAVX=2, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=rpm]
    [2019-02-10T15:24:42,558][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [aggs-matrix-stats]
    [2019-02-10T15:24:42,558][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [analysis-common]
    [2019-02-10T15:24:42,558][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [ingest-common]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [lang-expression]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [lang-mustache]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [lang-painless]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [mapper-extras]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [parent-join]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [percolator]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [rank-eval]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [reindex]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [repository-url]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [transport-netty4]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [tribe]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-ccr]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-core]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-deprecation]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-graph]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-ilm]
    [2019-02-10T15:24:42,559][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-logstash]
    [2019-02-10T15:24:42,560][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-ml]
    [2019-02-10T15:24:42,560][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-monitoring]
    [2019-02-10T15:24:42,560][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-rollup]
    [2019-02-10T15:24:42,560][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-security]
    [2019-02-10T15:24:42,560][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-sql]
    [2019-02-10T15:24:42,560][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-upgrade]
    [2019-02-10T15:24:42,560][INFO][o.e.p.PluginsService] [vendorNode001] loaded module [x-pack-watcher]
    [2019-02-10T15:24:42,560][INFO][o.e.p.PluginsService] [vendorNode001] no plugins loaded
    [2019-02-10T15:24:49,751][INFO][o.e.x.s.a.s.FileRolesStore] [vendorNode001] parsed [0] roles from file [/etc/elasticsearch/roles.yml]
    [2019-02-10T15:24:50,972][INFO][o.e.x.m.p.l.CppLogMessageHandler] [vendorNode001] [controller/8066] [Main.cc@109] controller (64 bit): Version 6.6.0 (Build bbb4919f4d17a5) Copyright (c) 2019 Elasticsearch BV
    [2019-02-10T15:24:52,099][DEBUG][o.e.a.ActionModule] [vendorNode001] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
    [2019-02-10T15:24:52,636][INFO][o.e.d.DiscoveryModule] [vendorNode001] using discovery type [zen] and host providers [settings]
    [2019-02-10T15:24:54,083][INFO][o.e.n.Node] [vendorNode001] initialized
    [2019-02-10T15:24:54,085][INFO][o.e.n.Node] [vendorNode001] starting ...
    [2019-02-10T15:24:54,320][INFO][o.e.t.TransportService] [vendorNode001] publish_address {192.168.150.129:9300}, bound_addresses {[::]:9300}
    [2019-02-10T15:24:54,373][INFO][o.e.b.BootstrapChecks] [vendorNode001] bound or publishing to a non-loopback address, enforcing bootstrap checks
    [2019-02-10T15:24:54,407][ERROR][o.e.b.Bootstrap] [vendorNode001] node validation exception
    [1] bootstrap checks failed
    [1]: Java version [11-ea] is an early-access build, only use release builds
    [2019-02-10T15:24:54,409][INFO][o.e.n.Node] [vendorNode001] stopping ...
    [2019-02-10T15:24:54,440][INFO][o.e.n.Node] [vendorNode001] stopped
    [2019-02-10T15:24:54,441][INFO][o.e.n.Node] [vendorNode001] closing ...
    [2019-02-10T15:24:54,465][INFO][o.e.n.Node] [vendorNode001] closed
    [2019-02-10T15:24:54,469][INFO][o.e.x.m.p.NativeController] [vendorNode001] Native controller process has stopped - no new native processes can be started
```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 10, 2019, 11:03am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/13 "2019-02-10T11:03:14Z")

</div>

Here's your problem:

```
[1]: Java version [11-ea] is an early-access build, only use release builds

```

Update your jvm

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 10, 2019, 11:46am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/14 "2019-02-10T11:46:55Z")

</div>

Thanks, can please help me find how can I do that on fedora desktop

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 10, 2019, 2:48pm UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/15 "2019-02-10T14:48:14Z")

</div>

I don't know. It's a Java question I guess or a fedora one.

May start here: [https://jdk.java.net/11/](https://jdk.java.net/11/)

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 10, 2019, 3:06pm UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/16 "2019-02-10T15:06:48Z")

</div>

Yeah, Thats true ,btw thanks a lot

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 10, 2019, 3:07pm UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/17 "2019-02-10T15:07:39Z")

</div>

how can i mark it close ?

---

<div class="post-metadata">

**Author:** ![arlen](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@arlen](https://discuss.elastic.co/u/arlen)\
**Post date:** [February 19, 2019, 4:14pm UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/18 "2019-02-19T16:14:16Z")

</div>

Just curious if network.host: 127.0.0.1 might make it work for you?

---

<div class="post-metadata">

**Author:** ![dheeraj.Kumar](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@dheeraj.Kumar](https://discuss.elastic.co/u/dheeraj.Kumar)\
**Post date:** [February 26, 2019, 5:22am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/19 "2019-02-26T05:22:54Z")

</div>

By default it works for Localhost which is equal to 127.0.0.1, but if you try to open it using this loop-back address instead of "localhost" then it will not work.

if i set this ip elastic search opens on this ip.

my intent was to access it from network so i set 0.0.0.0 (its a bad choice, but i am just working on POC)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 26, 2019, 5:22am UTC](https://discuss.elastic.co/t/not-able-to-run-elastic-search-on-server-ip/167725/20 "2019-03-26T05:22:55Z")

</div>

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