# PostgreSQL Connection attempts to connect to the wrong host

**URL:** <https://forum.inductiveautomation.com/t/postgresql-connection-attempts-to-connect-to-the-wrong-host/114320>\
**Category:** Ignition\
**Tags:** database\
**Created:** [March 4, 2026, 5:04pm UTC](https://forum.inductiveautomation.com/t/postgresql-connection-attempts-to-connect-to-the-wrong-host/114320 "2026-03-04T17:04:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe\_Spencer](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@Joe\_Spencer](https://forum.inductiveautomation.com/u/Joe_Spencer)\
**Post date:** [March 4, 2026, 5:04pm UTC](https://forum.inductiveautomation.com/t/postgresql-connection-attempts-to-connect-to-the-wrong-host/114320/1 "2026-03-04T17:04:35Z")

</div>

I have the JDBC Driver installed, and am trying to remotely connect to a PostgreSQL DB.

In the connection details, I am specifying a host ###.##.###. **119** :5432

The error thrown clearly shows that it is attempting to connect to ###.##.###. **115** :5432

```python
Cannot create PoolableConnectionFactory (FATAL: no pg_hba.conf entry for host "###.##.###.115", user "######", database "#######", SSL encryption)

```

I tried changing it to other host parts and it still shows .115 in the error.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 4, 2026, 5:27pm UTC](https://forum.inductiveautomation.com/t/postgresql-connection-attempts-to-connect-to-the-wrong-host/114320/2 "2026-03-04T17:27:18Z")

</div>

~~What version of Ignition are you using?~~

~~Can you show a screenshot of the configuration in the web interface, and if you're on 8.3, also cross-compare with the configuration on disk?~~

---

<div class="post-metadata">

**Author:** ![Joe\_Spencer](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@Joe\_Spencer](https://forum.inductiveautomation.com/u/Joe_Spencer)\
**Post date:** [March 4, 2026, 5:38pm UTC](https://forum.inductiveautomation.com/t/postgresql-connection-attempts-to-connect-to-the-wrong-host/114320/3 "2026-03-04T17:38:58Z")

</div>

8.3.2

Config in the web interface:

 ![SCR-20260304-klhb](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/c/8cd58b2cd00e74a9b246d0c8253fcf4232588595.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 4, 2026, 5:40pm UTC](https://forum.inductiveautomation.com/t/postgresql-connection-attempts-to-connect-to-the-wrong-host/114320/4 "2026-03-04T17:40:15Z")

</div>

~~Is your gateway a redundant pair/are you using deployment modes/have you created an "override" definition of the connection resource by any chance?~~

---

<div class="post-metadata">

**Author:** ![Joe\_Spencer](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@Joe\_Spencer](https://forum.inductiveautomation.com/u/Joe_Spencer)\
**Post date:** [March 4, 2026, 5:51pm UTC](https://forum.inductiveautomation.com/t/postgresql-connection-attempts-to-connect-to-the-wrong-host/114320/5 "2026-03-04T17:51:38Z")

</div>

No to all

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 4, 2026, 5:54pm UTC](https://forum.inductiveautomation.com/t/postgresql-connection-attempts-to-connect-to-the-wrong-host/114320/6 "2026-03-04T17:54:30Z")

</div>

> [@Joe\_Spencer](#):
>
> `(FATAL: no pg_hba.conf entry for host "###.##.###.115", user "######", database "#######", SSL encryption)`

Wait.

That's an error coming back from Postgres.

**Ignition** is running on .115 and trying to connect, and Postgres is rejecting it. We're correctly talking to the DB at the host you specified, and it's rejecting you.

> <https://dba.stackexchange.com/questions/83984/connect-to-postgresql-server-fatal-no-pg-hba-conf-entry-for-host>
