# Configure Discourse to use a separate PostgreSQL server

**URL:** <https://meta.discourse.org/t/configure-discourse-to-use-a-separate-postgresql-server/46375>\
**Category:** Self-Hosting\
**Tags:** how-to\
**Created:** [6월 23, 2016, 11:48오후 UTC](https://meta.discourse.org/t/configure-discourse-to-use-a-separate-postgresql-server/46375 "2016-06-23T23:48:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![alexweej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alexweej/32/120813_2.png) [@alexweej](https://meta.discourse.org/u/alexweej)\
**Post date:** [7월 27, 2017, 4:39오후 UTC](https://meta.discourse.org/t/configure-discourse-to-use-a-separate-postgresql-server/46375/4 "2017-07-27T16:39:48Z")

</div>

There is an additional setting, `DISCOURSE_DB_PORT`, which can, naturally, configure the TCP port number. @mpalmer please update the post?

Thanks

---

_[View the full topic](https://meta.discourse.org/t/configure-discourse-to-use-a-separate-postgresql-server/46375)._
