slymilano
Fresh Phoenix / Postgres project. DBConncetionError. Works fine on Render?
Here's how I fixed it:
Make sure ipv6 is enabled for Ecto by setting the environment variable
ECTO_IPV6
to true
.
Add the DATABASE_PRIVATE_URL
from Postgres service to the app service on Railway.
Now it works.15 replies