# How to Setup OpenShift Route/Direct URL to Connect to PostgreSQL Databases

**URL:** <https://forums.percona.com/t/how-to-setup-openshift-route-direct-url-to-connect-to-postgresql-databases/37944>\
**Category:** Percona Distribution for PostgreSQL\
**Created:** [May 14, 2025, 2:36pm UTC](https://forums.percona.com/t/how-to-setup-openshift-route-direct-url-to-connect-to-postgresql-databases/37944 "2025-05-14T14:36:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaceta7181](https://avatars.discourse-cdn.com/v4/letter/g/bbe5ce/32.png) [@gaceta7181](https://forums.percona.com/u/gaceta7181)\
**Post date:** [May 14, 2025, 2:36pm UTC](https://forums.percona.com/t/how-to-setup-openshift-route-direct-url-to-connect-to-postgresql-databases/37944/1 "2025-05-14T14:36:41Z")

</div>

I am working on a project right now for GE Aerospace where I need to setup a Route in OpenShift and create a Direct URL to connect to Postgres databases externally and use that to connect to the databases instead of using an IP address. OpenShift Routes are designed for HTTP/S-based traffic, not raw TCP protocols such as PostgreSQL. I tried using a passthrough route, but it is still failing. Can someone help me configure this properly, or tell me if this is even possible?

Thank you!
