# Discourse Randomly Does Not run or Rebuild

**URL:** <https://meta.discourse.org/t/discourse-randomly-does-not-run-or-rebuild/358231>\
**Category:** Self-hosting\
**Tags:** postgres\
**Created:** [March 20, 2025, 9:28pm UTC](https://meta.discourse.org/t/discourse-randomly-does-not-run-or-rebuild/358231 "2025-03-20T21:28:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [March 20, 2025, 10:12pm UTC](https://meta.discourse.org/t/discourse-randomly-does-not-run-or-rebuild/358231/3 "2025-03-20T22:12:37Z")

</div>

> [@joshhabka](#):
>
> `failed listening on port 6379 (TCP)`

I don’t think it’s related to your issue. This warning often (always?) appear during a rebuild.

> `error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: Connection refused`

I think your issue more likely comes from this.

---

_[View the full topic](https://meta.discourse.org/t/discourse-randomly-does-not-run-or-rebuild/358231)._
