# ES PostgreSQL connector

**URL:** <https://discuss.elastic.co/t/es-postgresql-connector/365853>\
**Category:** Elasticsearch\
**Tags:** docker, connectors\
**Created:** [August 31, 2024, 11:11am UTC](https://discuss.elastic.co/t/es-postgresql-connector/365853 "2024-08-31T11:11:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![os17](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/os17/32/137195_2.png) [@os17](https://discuss.elastic.co/u/os17)\
**Post date:** [August 31, 2024, 11:11am UTC](https://discuss.elastic.co/t/es-postgresql-connector/365853/1 "2024-08-31T11:11:32Z")

</div>

Hello,  
I did everything according to

> **[Install Elasticsearch with Docker | Elasticsearch Guide \[8.15\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docker.html)**

As a result kibana and es works as expected wo any issues

Next step is to set PostgreSQL connector, I followed

> **[Elastic PostgreSQL connector reference | Enterprise Search documentation...](https://www.elastic.co/guide/en/enterprise-search/8.15/connectors-postgresql.html#connectors-postgresql-client-docker)**

and getting  
`[FMWK][11:00:07][ERROR] Cannot connect to host host.docker.internal:9200 ssl:default [Name or service not known]`  
I tried localhost, 172.21.0.2. Same result.  
Also, some docs suggest use "host" as a network, others "elastic", which is confusing

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/0/80d5dca6ad67c3733f7ac478e8031cd062117085.png)

Have spent enormous amount of time trying to address it, but no luck so far, any help or suggestions are greatly appreciated  
Apologize if the question is duplicated, didn't find anything relevant  
Thank you

---

<div class="post-metadata">

**Author:** ![os17](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/os17/32/137195_2.png) [@os17](https://discuss.elastic.co/u/os17)\
**Post date:** [September 1, 2024, 5:56am UTC](https://discuss.elastic.co/t/es-postgresql-connector/365853/2 "2024-09-01T05:56:16Z")

</div>

Solved, turned out the http\_ca.crt file from es01 need to be moved into connector container as well.

---

<div class="post-metadata">

**Author:** ![Jedr\_Blaszyk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jedr_blaszyk/32/127637_2.png) [@Jedr\_Blaszyk](https://discuss.elastic.co/u/Jedr_Blaszyk)\
**Post date:** [September 2, 2024, 8:04am UTC](https://discuss.elastic.co/t/es-postgresql-connector/365853/3 "2024-09-02T08:04:53Z")

</div>

Added #connectors
