Hi team,
I’m trying to establish a connection to a Fly Postgres database from within a Sprite environment.
When attempting to connect using a private Fly hostname:
postgres://<user>:<pass>@<db-app>.flycast:5432/<db>
I encounter the following error:
getaddrinfo ENOTFOUND <db-app>.flycast
This suggests that the hostname is not resolvable from within the Sprite.
Clarification Needed
I would like to understand the expected networking behavior in this scenario:
-
Are Sprite environments able to resolve and connect to Fly private hostnames such as
.flycastor.internal? -
Do Sprites have access to Fly’s private network, or are they limited to outbound internet access only?
-
Is there a recommended way to connect to a Fly Postgres instance from within a Sprite?
Any clarification on how networking is intended to work in this context would be very helpful.
Thanks!