# Postgres connection error on 'bundle exec rails c'

**URL:** <https://meta.discourse.org/t/postgres-connection-error-on-bundle-exec-rails-c/222153>\
**Category:** Self-hosting\
**Created:** [March 28, 2022, 12:24pm UTC](https://meta.discourse.org/t/postgres-connection-error-on-bundle-exec-rails-c/222153 "2022-03-28T12:24:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![helmi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/helmi/32/114772_2.png) [@helmi](https://meta.discourse.org/u/helmi)\
**Post date:** [March 28, 2022, 1:15pm UTC](https://meta.discourse.org/t/postgres-connection-error-on-bundle-exec-rails-c/222153/4 "2022-03-28T13:15:02Z")

</div>

Actually I just noticed it’s probably not a syntax issue

```plaintext
SiteSetting.prometheus_trusted_ip_allowlist_regex="123.145.167.189"
NoMethodError: undefined method `prometheus_trusted_ip_allowlist_regex=' for #<Class:0x000055a8093e7dd8>

```

Maybe @sam can help with that. Or I’m really just making a mistake here. 🤔

---

_[View the full topic](https://meta.discourse.org/t/postgres-connection-error-on-bundle-exec-rails-c/222153)._
