# My postgres isn't starting with my docker container

**URL:** <https://meta.discourse.org/t/my-postgres-isnt-starting-with-my-docker-container/222421>\
**Category:** Development\
**Created:** [March 29, 2022, 7:44pm UTC](https://meta.discourse.org/t/my-postgres-isnt-starting-with-my-docker-container/222421 "2022-03-29T19:44:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![natasha\_selvidge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natasha_selvidge/32/235894_2.png) [@natasha\_selvidge](https://meta.discourse.org/u/natasha_selvidge)\
**Post date:** [March 29, 2022, 9:07pm UTC](https://meta.discourse.org/t/my-postgres-isnt-starting-with-my-docker-container/222421/4 "2022-03-29T21:07:59Z")

</div>

Now I am getting this error…I don’t get it because it was working fine and now something wrong 😣

/usr/local/lib/ruby/gems/2.7.0/gems/activerecord-6.1.4.1/lib/active\_record/connection\_adapters/postgresql\_adapter.rb:83:in `rescue in new\_client’: connection to server at “127.0.0.1”, port 5432 failed: Connection refused (ActiveRecord::ConnectionNotEstablished)  
Is the server running on that host and accepting TCP/IP connections?

---

_[View the full topic](https://meta.discourse.org/t/my-postgres-isnt-starting-with-my-docker-container/222421)._
