Postgres Connection on Windows 10: Localhost:5432 refused #34537
-
I am just getting started with Airbyte and am having trouble making a connection to my postgresql database. I followed the article and video on how to get Airbyte local opensource on to a windows computer. I have python v10, Ubunutu 22.04, hyper-v, docker desktop, docker compose, and git all installed and updated. I am using postgres v16 and cannot seem to get the port to connect to airbyte. I have checked that the port is open and went into the postgresql.conf and made sure the ports were listening on all frequencies. I have quadruple checked the authentication information. I cannot seem to get it to work, and could really use some help. Below is an image of the error and the log. Stacktrace Logs 2024-01-25 18:34:48 platform > Docker volume job log path: /tmp/workspace/a01f5806-938d-4fb0-8ba1-ab1d626fc380/0/logs.log |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Been working on this for a few days now and my system admin just found the answer. Wanted to post here if anyone is having the same issue. We had Postgres downloaded on our local desktop and since Airbyte is running in Hyper-V the "host" name localhost was trying to connect airbyte to postgres on hyper-v (where it does not exist). So by setting the "host" name to the ip address of the virtual desktop we are on allows airbyte to connect to postgres. Hope this helps anyone else out there. |
Beta Was this translation helpful? Give feedback.
-
@donahuem21 Thanks for updating with the solution to your issue regarding the refused connection to Postgres! I have marked that as the answer and will close this out. |
Beta Was this translation helpful? Give feedback.
Been working on this for a few days now and my system admin just found the answer. Wanted to post here if anyone is having the same issue. We had Postgres downloaded on our local desktop and since Airbyte is running in Hyper-V the "host" name localhost was trying to connect airbyte to postgres on hyper-v (where it does not exist). So by setting the "host" name to the ip address of the virtual desktop we are on allows airbyte to connect to postgres. Hope this helps anyone else out there.