I have the airflow running in docker container, and trying to connect to the neo4j instance but got an error:
Traceback (most recent call last):
File "/home/airflow/.local/lib/python3.7/site-packages/neo4j/_async_compat/network/_bolt_socket.py", ...
I tried to build connection between airflow in local docker and desktop Neo4j(1.5.6) database. The connection info was in Airflow Connections. This error raise:
neo4j.exceptions.ServiceUnavailable: Couldn't connect to localhost:7687 (resolved to ()...
Thanks a lot, it works when I use host: "host.docker.internal" and also using connection ui on airflow instead of backend file and variable UI to set the parameters.