# Disable geoip

**URL:** <https://discuss.elastic.co/t/disable-geoip/301297>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [April 1, 2022, 9:19am UTC](https://discuss.elastic.co/t/disable-geoip/301297 "2022-04-01T09:19:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Foggie](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@Foggie](https://discuss.elastic.co/u/Foggie)\
**Post date:** [April 1, 2022, 9:19am UTC](https://discuss.elastic.co/t/disable-geoip/301297/1 "2022-04-01T09:19:13Z")

</div>

I am trying to deploy Elasticsearch 7.17.1 on a server behind a very strict firewall (basically no Internet access is allowed.  
The deployment is via a bat file (not Docker).  
The Elasticsearch.yml is virtually all comments, but having got the issue below I added  
ingest.geoip.downloader.enabled: false

But even with is it still tries to get to the Internet - as this log shows:  
(The may be other issues - but I am trying to sort this one first 🙂

[2022-04-01T09:35:04,493][INFO][o.e.i.g.GeoIpDownloader] [xxxxxx] updating geoip databases  
[2022-04-01T09:35:04,493][INFO][o.e.i.g.GeoIpDownloader] [xxxxxx] fetching geoip databases overview from [[https://geoip.elastic.co/v1/database?elastic\_geoip\_service\_tos=agree](https://geoip.elastic.co/v1/database?elastic_geoip_service_tos=agree)]  
[2022-04-01T09:35:04,524][ERROR][o.e.i.g.GeoIpDownloader] [xxxxxx] exception during geoip databases update  
java.net.UnknownHostException: [geoip.elastic.co](http://geoip.elastic.co)  
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0\_242]

---

<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:** [April 1, 2022, 12:30pm UTC](https://discuss.elastic.co/t/disable-geoip/301297/2 "2022-04-01T12:30:56Z")

</div>

Run:

```auto
PUT /_cluster/settings
{
  "persistent" : {
    "ingest.geoip.downloader.enabled" : false
  }
}

```

See [GeoIP processor | Elasticsearch Guide [8.1] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/geoip-processor.html#manage-geoip-database-updates)

---

<div class="post-metadata">

**Author:** ![Foggie](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@Foggie](https://discuss.elastic.co/u/Foggie)\
**Post date:** [April 1, 2022, 1:44pm UTC](https://discuss.elastic.co/t/disable-geoip/301297/3 "2022-04-01T13:44:37Z")

</div>

Thank you. However I was unable to implement your solution as a knock on from my issue was that Kibana would not start. So I was guessing that my issue was causing this. But another avenue I pursued was to update Chrome - which was woefully out of date. This was not easy as I had to plead with our firewall guys to let the update through. Once this was done, Kibana started and it looks as though the GeoIp thing was not an issue after all.  
But THANK YOU anyway - useful gen for another time 🙂

---

<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 29, 2022, 1:45pm UTC](https://discuss.elastic.co/t/disable-geoip/301297/4 "2022-04-29T13:45:15Z")

</div>

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