Can't connect to postgres GUI with fly proxy

I’m trying to view my postgres db in a GUI.

First I’m running fly proxy 15432:5432 –app <my app name> and then I try to connect in terminal, running psql -h localhost -p 15432 -U <username> -d <database name>.This connection succeeds.

However when I try to connect via any gui (e.g pgAdmin, pgWeb) I keep getting connection refused. Is there a difference because of the TCP connection over the network via possible unix socket connection of terminal?

update: I got it to work finally using Beekeeper. no change to method just different GUI app

1 Like

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