could not translate host name

Hi Im trying to connect to my DB using postgres://imanagementbe:@.flycast:5432/imanagementbe?sslmode=disable

But Im getting this error:

I added my IP to allowed ip v4 shared

Added postgres

Hi… If you’re trying to connect from your local machine, then it is easiest to tunnel through with fly proxy:

(Doing so makes it appear as if the database was running on localhost—but in reality traffic is being passed along by flyctl.)

By default, the .flycast and .internal addresses are not available on your desktop.

For that, you would need the style of address (among other changes).

It’s generally best to tunnel, if you can.

1 Like

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