trying to connect to a supabase db via pgadmin but...
# help
o
trying to connect to a supabase db via pgadmin but im getting this error:
Copy code
Unable to connect to server:

could not connect to server: Connection refused
Is the server running on host "db.asdasdasdasdasd.supabase.co" (XX.XX.XXX.XXX) and accepting
TCP/IP connections on port 5432
i tried connecting via ssl using an crt file as well as via password. both gave the same response. i tried looking it up and all the answers say to configure the config file for the postgres server, but im not sure how to do that on supabase
j
is the port definitely 5432? some time back i randomly encountered it because one of the test instances i created turned out to be on 6543 as well
o
this is what supabase shows
is there any other place i should check?
under the "Database" tab in the settings is where this is
j
yeah that looks right
im also using pgadmin and connecting without issues so a this is unusual
what does your pgadmin connection window look like?
w
did you ever figure this out? I'm seeing the same message
j
do you have a screenshot of your connection window?
yeah looks the same - only thing i can think of is to double-check the host name + port to make sure they're definitely right
s
Just came across this too. Supabase dashboard shows port 5432, but 6543 works instead. Thanks for the tip @User !
j
oh interesting, so it's a display bug - worth creating a github issue to let the team know! @User you can try and see if it works for you