# Accessing Database

**URL:** <https://meta.discourse.org/t/accessing-database/154125>\
**Category:** Self-hosting\
**Created:** [June 7, 2020, 10:40pm UTC](https://meta.discourse.org/t/accessing-database/154125 "2020-06-07T22:40:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Kimberly\_Haniff](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kimberly_haniff/32/309707_2.png) [@Kimberly\_Haniff](https://meta.discourse.org/u/Kimberly_Haniff)\
**Post date:** [June 2, 2023, 6:27pm UTC](https://meta.discourse.org/t/accessing-database/154125/4 "2023-06-02T18:27:37Z")

</div>

Hi Everyone,

I am able to access my postgres db via pgadmin using the following steps:

- Remove the expose port code my your app.yml and rebuild the app.
- Go to your server management portal (i.e Digital Ocean, AWS etc). Create a firewall rule which opens port 5432.
- Using pgadmin SSH tab: sign into your server using the server address and credentials.

Let me know if this works for you.

Kind Regards,  
Kimberly

---

_[View the full topic](https://meta.discourse.org/t/accessing-database/154125)._
