# Issues connecting to logstash on windows server

**URL:** <https://discuss.elastic.co/t/issues-connecting-to-logstash-on-windows-server/114933>\
**Category:** Logstash\
**Created:** [January 10, 2018, 6:57pm UTC](https://discuss.elastic.co/t/issues-connecting-to-logstash-on-windows-server/114933 "2018-01-10T18:57:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pranay](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@pranay](https://discuss.elastic.co/u/pranay)\
**Post date:** [January 10, 2018, 6:57pm UTC](https://discuss.elastic.co/t/issues-connecting-to-logstash-on-windows-server/114933/1 "2018-01-10T18:57:26Z")

</div>

Hi, I am new to ELK world and started installing ELK stack... elasticsearch and Kibana are up and running and am able to login using the localhost url, but having issues while connecting to logstash.. pls help

```auto
0x7cc3f2f3 run>"}
[2018-01-10T18:36:35,008][INFO][logstash.licensechecker.licensereader] Elasticsearch pool URLs updated {:changes=>{:rem
oved=>[], :added=>[http://localhost:9200/]}}
[2018-01-10T18:36:35,008][INFO][logstash.licensechecker.licensereader] Running health check to see if an Elasticsearch
connection is working {:healthcheck_url=>http://localhost:9200/, :path=>"/"}
[2018-01-10T18:36:35,023][WARN][logstash.licensechecker.licensereader] Attempted to resurrect connection to dead ES ins
tance, but got an error. {:url=>"http://localhost:9200/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Poo
l::BadResponseCodeError, :error=>"Got response code '401' contacting Elasticsearch at URL 'http://localhost:9200/'"}
Got response code '401' contacting Elasticsearch at URL 'http://localhost:9200/_xpack'
[2018-01-10T18:36:35,070][ERROR][logstash.licensechecker.licensemanager] Unable to retrieve license information from lic
ense server {:message=>"Got response code '401' contacting Elasticsearch at URL 'http://localhost:9200/_xpack'", :class=
>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError"}
[2018-01-10T18:36:35,070][WARN][logstash.licensechecker.xpackinfo] Nil response from License Server
[2018-01-10T18:36:35,148][INFO][logstash.pipeline] Pipeline started {"pipeline.id"=>".monitoring-logstash"}
[2018-01-10T18:36:35,258][INFO][logstash.agent] Pipelines running {:count=>1, :pipelines=>[".monitoring-logs
tash"]}
[2018-01-10T18:36:35,273][ERROR][logstash.inputs.metrics] Monitoring is not available: License information is currentl
y unavailable. Please make sure you have added your production elasticsearch connection info in the xpack.monitoring.ela
sticsearch settings.
[2018-01-10T18:36:36,367][INFO][logstash.pipeline] Pipeline terminated {"pipeline.id"=>".monitoring-logstash"}

```

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [January 12, 2018, 6:00pm UTC](https://discuss.elastic.co/t/issues-connecting-to-logstash-on-windows-server/114933/2 "2018-01-12T18:00:51Z")

</div>

Looks like you have to install x-pack on ES too and you need to turn ssl on.

[https://www.elastic.co/guide/en/x-pack/6.1/xpack-introduction.html](https://www.elastic.co/guide/en/x-pack/6.1/xpack-introduction.html)  
[https://www.elastic.co/guide/en/logstash/current/setup-xpack.html](https://www.elastic.co/guide/en/logstash/current/setup-xpack.html)

---

<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 9, 2018, 6:00pm UTC](https://discuss.elastic.co/t/issues-connecting-to-logstash-on-windows-server/114933/3 "2018-02-09T18:00:56Z")

</div>

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