# Cannot rebuild app,

**URL:** https://meta.discourse.org/t/cannot-rebuild-app/350172
**Category:** Support
**Created:** [February 2, 2025, 10:58pm UTC](https://meta.discourse.org/t/cannot-rebuild-app/350172 "2025-02-02T22:58:50Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![mwaniki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mwaniki/32/313097_2.png) [@mwaniki](https://meta.discourse.org/u/mwaniki)
#### Post date: [February 3, 2025, 8:00am UTC](https://meta.discourse.org/t/cannot-rebuild-app/350172/3 "2025-02-03T08:00:32Z")

</div>

> socat[33] E connect(, AF=1 “/shared/postgres\_run/.s.PGSQL.5432”, 36): Connection refused

Based on that error, it appears the database did not shut down cleanly when you stopped the `app` container. This typically happens when you have some application(s) still connecting to the database. I [posted a reply](https://meta.discourse.org/t/postgresql-15-update/349515/69) in the other topic.

---

_[View the full topic](https://meta.discourse.org/t/cannot-rebuild-app/350172)._
