# Upgrade to 2023.2 custom DB port

**URL:** <https://forum.getodk.org/t/upgrade-to-2023-2-custom-db-port/41752>\
**Category:** Support\
**Created:** [June 1, 2023, 5:36pm UTC](https://forum.getodk.org/t/upgrade-to-2023-2-custom-db-port/41752 "2023-06-01T17:36:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![danbjoseph](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/danbjoseph/32/21901_2.png) [@danbjoseph](https://forum.getodk.org/u/danbjoseph)\
**Post date:** [June 5, 2023, 7:11pm UTC](https://forum.getodk.org/t/upgrade-to-2023-2-custom-db-port/41752/2 "2023-06-05T19:11:21Z")

</div>

Is your problem the same as discussed in this thread?

> [@Issues with connecting postgres (localhost) with latest odk central (v 2023.2)](https://forum.getodk.org/t/issues-with-connecting-postgres-localhost-with-latest-odk-central-v-2023-2/41568):
>
> I tried to install ODK latest version in my local Ubuntu machine but it has some issues to connect with my local PostgreSQL db. it is running on port 5432 and i have turned off firewall. central-service-1 Error: connect ECONNREFUSED 127.0.0.1:5432 My env DOMAIN=local [SYSADMIN\_EMAIL=administrator@email.com](mailto:SYSADMIN_EMAIL=administrator@email.com) SSL\_TYPE=selfsign HTTP\_PORT=81 HTTPS\_PORT=443 Optional: connect to a custom database server DB\_HOST=localhost DB\_USER=postgres DB\_PASSWORD=\*\*\*\* DB\_NAME=mydbname I followed all the …

---

_[View the full topic](https://forum.getodk.org/t/upgrade-to-2023-2-custom-db-port/41752)._
