# Can't connect from another pc

**URL:** <https://discuss.elastic.co/t/cant-connect-from-another-pc/370466>\
**Category:** Elasticsearch\
**Created:** [November 13, 2024, 9:36am UTC](https://discuss.elastic.co/t/cant-connect-from-another-pc/370466 "2024-11-13T09:36:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuele\_Orlandi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manuele_orlandi/32/139183_2.png) [@Manuele\_Orlandi](https://discuss.elastic.co/u/Manuele_Orlandi)\
**Post date:** [November 13, 2024, 9:36am UTC](https://discuss.elastic.co/t/cant-connect-from-another-pc/370466/1 "2024-11-13T09:36:29Z")

</div>

Hi all,  
i'm neewbi with Elasticsearch. I'm trying ton install the service on a windows machine. The service should be reachable from the firewall.  
With the basic setup the service is reacheable only from the same PC. I've checked guides and document on the web and seams that I've to modify the "elasticsearch.yml" file, and set the field "nettwork.host" with 0.0.0.0 or a IP of one of my NIC. The problem is that when i enable this field and start Elasticsearch service, it's stop after a while. I've reported the error below:

```auto
[2024-11-13 10:02:20] [debug] ( javajni.c:419 ) [1708] JNI_GetCreatedJavaVMs...
[2024-11-13 10:02:20] [debug] ( javajni.c:817 ) [3796] JVM Option[0] -XX:+UseSerialGC
[2024-11-13 10:02:20] [debug] ( javajni.c:817 ) [3796] JVM Option[1] -Des.path.home=C:\elasticsearch-8.16.0
[2024-11-13 10:02:20] [debug] ( javajni.c:817 ) [3796] JVM Option[2] -Des.path.conf=C:\elasticsearch-8.16.0\config
[2024-11-13 10:02:20] [debug] ( javajni.c:817 ) [3796] JVM Option[3] -Des.distribution.type=zip
[2024-11-13 10:02:20] [debug] ( javajni.c:817 ) [3796] JVM Option[4] -Dcli.name=windows-service-daemon
[2024-11-13 10:02:20] [debug] ( javajni.c:817 ) [3796] JVM Option[5] -Dcli.libs=lib/tools/server-cli,lib/tools/windows-service-cli
[2024-11-13 10:02:20] [debug] ( javajni.c:817 ) [3796] JVM Option[6] -Djava.class.path=C:\elasticsearch-8.16.0/lib/ecs-logging-core-1.2.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-cli-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-core-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-geo-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-grok-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-log4j-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-logging-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-lz4-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-native-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-plugin-analysis-api-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-plugin-api-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-secure-sm-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-simdvec-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-tdigest-8.16.0.jar;C:\elasticsearch-8.16.0/lib/elasticsearch-x-content-8.16.0.jar;C:\elasticsearch-8.16.0/lib/HdrHistogram-2.1.9.jar;C:\elasticsearch-8.16.0/lib/hppc-0.8.1.jar;C:\elasticsearch-8.16.0/lib/jcodings-1.0.44.jar;C:\elasticsearch-8.16.0/lib/joni-2.1.29.jar;C:\elasticsearch-8.16.0/lib/jopt-simple-5.0.2.jar;C:\elasticsearch-8.16.0/lib/log4j-api-2.19.0.jar;C:\elasticsearch-8.16.0/lib/log4j2-ecs-layout-1.2.0.jar;C:\elasticsearch-8.16.0/lib/lucene-analysis-common-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-backward-codecs-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-core-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-facet-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-grouping-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-highlighter-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-join-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-memory-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-misc-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-queries-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-queryparser-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-sandbox-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lucene-suggest-9.12.0.jar;C:\elasticsearch-8.16.0/lib/lz4-java-1.8.0.jar;C:\elasticsearch-8.16.0/lib/cli-launcher/cli-launcher-8.16.0.jar
[2024-11-13 10:02:20] [debug] ( javajni.c:817 ) [3796] JVM Option[7] exit
[2024-11-13 10:02:20] [debug] ( javajni.c:817 ) [3796] JVM Option[8] abort
[2024-11-13 10:02:20] [debug] ( javajni.c:1062) [3796] Java worker thread started for org/elasticsearch/launcher/CliToolLauncher:main
[2024-11-13 10:02:20] [debug] ( javajni.c:1068) [3796] JNI calling static void method org/elasticsearch/launcher/CliToolLauncher:main
[2024-11-13 10:02:22] [debug] ( prunsrv.c:1486) [1708] Java started 'org/elasticsearch/launcher/CliToolLauncher'.
[2024-11-13 10:02:22] [info] ( prunsrv.c:1585) [1708] Service started in 1304 milliseconds.
[2024-11-13 10:02:22] [debug] ( prunsrv.c:1123) [1708] reportServiceStatusE: dwCurrentState = 4 (SERVICE_RUNNING), dwWin32ExitCode = 0, dwWaitHint = 0 milliseconds, dwServiceSpecificExitCode = 0.
[2024-11-13 10:02:22] [debug] ( prunsrv.c:1832) [1708] Waiting for worker to finish...
[2024-11-13 10:02:22] [debug] ( javajni.c:1157) [1708] apxJavaWait -> WaitForSingleObject (0x00000000000001E0, -1 milliseconds) (-1=INFINITE)...
[2024-11-13 10:02:56] [debug] ( javajni.c:566 ) [5188] Exit hook with exit code 78
[2024-11-13 10:02:56] [debug] ( prunsrv.c:1199) [5188] Start exit hook called...
[2024-11-13 10:02:56] [debug] ( prunsrv.c:1200) [5188] JVM exit code: 78.

```

I don't know what to do.  
Help me please!! 😭 \_face:

---

<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:** [November 13, 2024, 2:04pm UTC](https://discuss.elastic.co/t/cant-connect-from-another-pc/370466/2 "2024-11-13T14:04:14Z")

</div>

From #Elastic Search to #Elasticsearch

---

<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:** [November 13, 2024, 2:05pm UTC](https://discuss.elastic.co/t/cant-connect-from-another-pc/370466/3 "2024-11-13T14:05:15Z")

</div>

Welcome!

I think you should also have the Elasticsearch logs somewhere. Could you share them?

Most likely it's a bootstrap checks problem. See [Bootstrap Checks | Elasticsearch Guide [8.16] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html) once you checked the logs.

---

<div class="post-metadata">

**Author:** ![Manuele\_Orlandi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manuele_orlandi/32/139183_2.png) [@Manuele\_Orlandi](https://discuss.elastic.co/u/Manuele_Orlandi)\
**Post date:** [November 13, 2024, 3:42pm UTC](https://discuss.elastic.co/t/cant-connect-from-another-pc/370466/4 "2024-11-13T15:42:19Z")

</div>

Thank you for the answare and for the link.  
I've added the record `discovery.type: single-node` and the service started correclty!  
Thanks again

---

<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:** [December 11, 2024, 3:42pm UTC](https://discuss.elastic.co/t/cant-connect-from-another-pc/370466/5 "2024-12-11T15:42:20Z")

</div>

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