# Ecto connection error with gcloud postgres instance

**URL:** <https://forum.elixirforum.com/t/ecto-connection-error-with-gcloud-postgres-instance/54310>\
**Category:** Questions\
**Tags:** ecto, phoenix, google-cloud\
**Created:** [March 3, 2023, 1:00pm UTC](https://forum.elixirforum.com/t/ecto-connection-error-with-gcloud-postgres-instance/54310 "2023-03-03T13:00:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![BradS2S](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/brads2s/32/33246_2.png) [@BradS2S](https://forum.elixirforum.com/u/BradS2S)\
**Post date:** [March 3, 2023, 2:40pm UTC](https://forum.elixirforum.com/t/ecto-connection-error-with-gcloud-postgres-instance/54310/4 "2023-03-03T14:40:57Z")

</div>

Is your app and you db on the same instance? You probably want to try to internal IP in that case assuming they are at different addresses.

---

_[View the full topic](https://forum.elixirforum.com/t/ecto-connection-error-with-gcloud-postgres-instance/54310)._
