TypeBot - Postgres - Unable to connect to server
estevao3fernandes
HOBBYOP

a year ago

I'm using the TypeBot image, and I'm not able to access Postgres externally. The configuration with the proxy apparently worked, but when I try to access it externally I get the message: "Unable to connect to server: connection timeout expired".

Apparently I would have to allow external access by changing the pg_hba.conf file and the listen_addresses parameter. But I don't see how this would be possible in railway.

Any pointers? Thanks in advance.

1 Replies

brody
EMPLOYEE

a year ago

Hello, nothing to do with pg_hba.conf, you wrongly added an https domain to the Postgres service, you need to add a TCP proxy to the service.

Please read the overview for the template - https://railway.app/template/typebot


Loading...