# I tried to check if the server running by typing "http://localhost:9200/\_status" but i got on the browser "ERR\_EMPTY\_RESPONSE"

**URL:** <https://discuss.elastic.co/t/i-tried-to-check-if-the-server-running-by-typing-http-localhost-9200-status-but-i-got-on-the-browser-err-empty-response/298191>\
**Category:** Elasticsearch\
**Created:** [February 24, 2022, 4:51pm UTC](https://discuss.elastic.co/t/i-tried-to-check-if-the-server-running-by-typing-http-localhost-9200-status-but-i-got-on-the-browser-err-empty-response/298191 "2022-02-24T16:51:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![moazmahmoud\_saad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/moazmahmoud_saad/32/102296_2.png) [@moazmahmoud\_saad](https://discuss.elastic.co/u/moazmahmoud_saad)\
**Post date:** [February 24, 2022, 4:51pm UTC](https://discuss.elastic.co/t/i-tried-to-check-if-the-server-running-by-typing-http-localhost-9200-status-but-i-got-on-the-browser-err-empty-response/298191/1 "2022-02-24T16:51:15Z")

</div>

i tried to check if the server running by typing "[http://localhost:9200/\_status](http://localhost:9200/_status)" but i got on the browser "ERR\_EMPTY\_RESPONSE"

and here what is printed on the cmd (windows)

[2022-02-24T18:48:46,917][INFO][o.e.g.GatewayService] [DESKTOP-FQ1TMTF] recovered [2] indices into cluster\_state  
[2022-02-24T18:48:47,396][INFO][o.e.c.r.a.AllocationService] [DESKTOP-FQ1TMTF] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.geoip\_databases][0], [.security-7][0]]])." previous.health="RED" reason="shards started [[.geoip\_databases][0], [.security-7][0]]"  
[2022-02-24T18:48:47,786][INFO][o.e.i.g.DatabaseNodeService] [DESKTOP-FQ1TMTF] successfully loaded geoip database file [GeoLite2-Country.mmdb]  
[2022-02-24T18:48:47,812][INFO][o.e.i.g.DatabaseNodeService] [DESKTOP-FQ1TMTF] successfully loaded geoip database file [GeoLite2-ASN.mmdb]  
[2022-02-24T18:48:48,613][INFO][o.e.i.g.DatabaseNodeService] [DESKTOP-FQ1TMTF] successfully loaded geoip database file [GeoLite2-City.mmdb]  
[2022-02-24T18:49:28,371][WARN][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61362}  
[2022-02-24T18:49:28,371][WARN][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61361}  
[2022-02-24T18:49:28,372][WARN][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61363}  
[2022-02-24T18:49:29,458][WARN][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61365}  
[2022-02-24T18:49:29,460][WARN][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61366}  
[2022-02-24T18:49:29,464][WARN][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61367}  
[2022-02-24T18:49:34,484][WARN][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61369}  
[2022-02-24T18:49:34,486][WARN][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61370}  
[2022-02-24T18:49:34,490][WARN][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [DESKTOP-FQ1TMTF] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200, remoteAddress=/[0:0:0:0:0:0:0:1]:61371}

---

<div class="post-metadata">

**Author:** ![Diana\_Jourdan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diana_jourdan/32/92356_2.png) [@Diana\_Jourdan](https://discuss.elastic.co/u/Diana_Jourdan)\
**Post date:** [February 25, 2022, 4:38pm UTC](https://discuss.elastic.co/t/i-tried-to-check-if-the-server-running-by-typing-http-localhost-9200-status-but-i-got-on-the-browser-err-empty-response/298191/2 "2022-02-25T16:38:33Z")

</div>

Your issue seems to be using http instead of https.

I suggest you try changing in both `elasticsearch.yml` and `elasticsearch-xpack.yml` in the `/modules.d` directory, `hosts` to use https.

For example, here’s `elasticsearch-xpack.yml` :  
`- module: elasticsearch xpack.enabled: true period: 10s hosts: ["[https://localhost:9200](https://localhost:9200/)"] #username: "user" #password: "secret"`

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 26, 2022, 12:40am UTC](https://discuss.elastic.co/t/i-tried-to-check-if-the-server-running-by-typing-http-localhost-9200-status-but-i-got-on-the-browser-err-empty-response/298191/3 "2022-02-26T00:40:07Z")

</div>

What do you get if you just try

`http://localhost:9200`

What version of the stack are you on

`http://localhost:9200/_status` I don't believe this is a valid endpoint...

---

<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, 2022, 12:40am UTC](https://discuss.elastic.co/t/i-tried-to-check-if-the-server-running-by-typing-http-localhost-9200-status-but-i-got-on-the-browser-err-empty-response/298191/4 "2022-03-26T00:40:39Z")

</div>

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