# Remote Connection to Elastic

**URL:** <https://discuss.elastic.co/t/remote-connection-to-elastic/323732>\
**Category:** Elasticsearch\
**Created:** [January 23, 2023, 1:49pm UTC](https://discuss.elastic.co/t/remote-connection-to-elastic/323732 "2023-01-23T13:49:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patryk\_Ostrowski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patryk_ostrowski/32/111965_2.png) [@Patryk\_Ostrowski](https://discuss.elastic.co/u/Patryk_Ostrowski)\
**Post date:** [January 23, 2023, 1:49pm UTC](https://discuss.elastic.co/t/remote-connection-to-elastic/323732/1 "2023-01-23T13:49:58Z")

</div>

Hello,  
I have problem, and I cannot find solution of my problem. I have standalone Elasticsearch on 10.1.251.1, and hosts (Ubuntu 20) with Suricata on 10.2.251.5 and 10.1.251.5. When I try connect fro 10.1.251.1 to my elastic host everything is ok. But when I run the same command in second host I have error.

```auto
curl https://10.1.251.1:9200
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to 10.1.251.1:9200

```

and

```auto
 openssl s_client -connect 10.1.251.1:9200
CONNECTED(00000003)
write:errno=104
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 293 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---

```

In elastic config elasticseach.yml I have configuration allow remote connection

```auto
network.host: 0.0.0.0

```

I catch pcap and I found RST from server, I searched a problem in firewall but there aren't any logs of deny, only reset from 10.1.251.1 (elastic host). Any idea?

---

<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:** [February 20, 2023, 1:50pm UTC](https://discuss.elastic.co/t/remote-connection-to-elastic/323732/2 "2023-02-20T13:50:38Z")

</div>

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