# My conf file has a es ip address that can't be compiled correctly

**URL:** <https://discuss.elastic.co/t/my-conf-file-has-a-es-ip-address-that-cant-be-compiled-correctly/125199>\
**Category:** Logstash\
**Created:** [March 22, 2018, 1:36pm UTC](https://discuss.elastic.co/t/my-conf-file-has-a-es-ip-address-that-cant-be-compiled-correctly/125199 "2018-03-22T13:36:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phoebe](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@Phoebe](https://discuss.elastic.co/u/Phoebe)\
**Post date:** [March 22, 2018, 1:36pm UTC](https://discuss.elastic.co/t/my-conf-file-has-a-es-ip-address-that-cant-be-compiled-correctly/125199/1 "2018-03-22T13:36:10Z")

</div>

my file's address

> input {  
> log4j {  
> host =\> "192.168.22.75"  
> port =\> 4560  
> }  
> }  
> output {  
> stdout {  
> codec =\> rubydebug  
> }  
> elasticsearch{  
> hosts =\> ["192.168.22.95:9200"]  
> index =\> "log4j-%{+YYYY.MM.dd}"  
> }  
> }

and the console's tip is

> Unable to retrieve license information from license server {:message=\>"No Available connections", :class=\>"LogStash::Outputs::Elasticsearch::HttpClient::Pool::NoConnectionAvailableError"}  
> [2018-03-22T21:31:04,840][WARN][logstash.licensechecker.xpackinfo] Nil response from License Server  
> [2018-03-22T21:31:05,071][INFO][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck\_url=\>[http://localhost:9200/](http://localhost:9200/), :path=\>"/"}  
> [2018-03-22T21:31:05,076][WARN][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=\>"[http://localhost:9200/](http://localhost:9200/)", :error\_type=\>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :error=\>"Elasticsearch Unreachable: [[http://localhost:9200/](http://localhost:9200/)][Manticore::SocketException] 拒绝连接"}  
> [2018-03-22T21:31:05,310][INFO][logstash.licensechecker.licensereader] Running health check to see if an Elasticsearch connection is working {:healthcheck\_url=\>[http://localhost:9200/](http://localhost:9200/), :path=\>"/"}  
> [2018-03-22T21:31:05,314][WARN][logstash.licensechecker.licensereader] Attempted to resurrect connection to dead ES instance, but got an error. {:url=\>"[http://localhost:9200/](http://localhost:9200/)", :error\_type=\>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :error=\>"Elasticsearch Unreachable: [[http://localhost:9200/](http://localhost:9200/)][Manticore::SocketException] 拒绝连接"}

---

<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:** [April 19, 2018, 1:36pm UTC](https://discuss.elastic.co/t/my-conf-file-has-a-es-ip-address-that-cant-be-compiled-correctly/125199/2 "2018-04-19T13:36:45Z")

</div>

Closed on April 19, 2018, 1:36pm UTC

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