# Does the sandbox with persistance support specifying multiple hosts in the connection string?

**URL:** <https://forum.canton.network/t/does-the-sandbox-with-persistance-support-specifying-multiple-hosts-in-the-connection-string/424>\
**Category:** App Development\
**Tags:** sandbox\
**Created:** [May 12, 2020, 6:35am UTC](https://forum.canton.network/t/does-the-sandbox-with-persistance-support-specifying-multiple-hosts-in-the-connection-string/424 "2020-05-12T06:35:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![georg](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/georg/32/368_2.png) [@georg](https://forum.canton.network/u/georg)\
**Post date:** [May 12, 2020, 6:35am UTC](https://forum.canton.network/t/does-the-sandbox-with-persistance-support-specifying-multiple-hosts-in-the-connection-string/424/1 "2020-05-12T06:35:23Z")

</div>

Some Postgres drivers, like `pgjdbc` support [specifying multiple hosts](https://github.com/pgjdbc/pgjdbc/blob/f3abb4eb19357ac353d4a1e59d2920135619ad9a/docs/documentation/head/connect.md#connection-fail-over) in the connection string for failover. If I run a HA Postgres cluster with identical hot mirrors, can I specify multiple hosts in the sandbox connection string such that it would fail over if the primary connection goes down?

---

<div class="post-metadata">

**Author:** ![stefanobaghino-da](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stefanobaghino-da/32/7057_2.png) [@stefanobaghino-da](https://forum.canton.network/u/stefanobaghino-da)\
**Post date:** [May 12, 2020, 10:51am UTC](https://forum.canton.network/t/does-the-sandbox-with-persistance-support-specifying-multiple-hosts-in-the-connection-string/424/2 "2020-05-12T10:51:53Z")

</div>

As of the time of writing, we are using version 42.2.9 of that driver, so in principle I’d say you should be able to use this feature.
