# Reverse Connection to OpenHistorian2?

**URL:** <http://discussions.gridprotectionalliance.org/t/reverse-connection-to-openhistorian2/1439>\
**Category:** openHistorian\
**Created:** [September 3, 2025, 12:26pm UTC](http://discussions.gridprotectionalliance.org/t/reverse-connection-to-openhistorian2/1439 "2025-09-03T12:26:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kitpm](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/k/ecccb3/32.png) [@kitpm](http://discussions.gridprotectionalliance.org/u/kitpm)\
**Post date:** [September 3, 2025, 12:26pm UTC](http://discussions.gridprotectionalliance.org/t/reverse-connection-to-openhistorian2/1439/1 "2025-09-03T12:26:43Z")

</div>

We have a running OH2 instance and are reading the measurements via STTP with a local subscriber, which is our own code to write all data to a fast time series DB (written in go).  
I would like to move the code to a different system (ideally k8s).  
We have a running SimpleSubscribeReverse.go on a separate machine for testing.  
But I dont find the settings for a reverse subscription in OH2.  
How do I set this up?

Thanks and best regards  
Peter

---

<div class="post-metadata">

**Author:** ![ritchiecarroll](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/ritchiecarroll/32/2_2.png) [@ritchiecarroll](http://discussions.gridprotectionalliance.org/u/ritchiecarroll)\
**Post date:** [September 6, 2025, 1:59am UTC](http://discussions.gridprotectionalliance.org/t/reverse-connection-to-openhistorian2/1439/2 "2025-09-06T01:59:34Z")

</div>

In OH Manager UI app (not web page), go to `Action > Manage Custom Actions`. Go to last page of adapters by clicking chevron at bottom right `>>`, the click `(+) Add New` button. Give new adapter a name, e.g., `STTP-REV`, then select `STTP Publisher` from the `Type` menu. In the `Connection String` box, enter a string like the following `server=localhost:7199`, this needs to be the IP or DNS, a colon, then port number of the listening STTP Subscriber with server connection. Next check the `Enabled` box, then click `Save` button`.

Next, click on your newly created row, e.g., `STTP-REV`, then click the `Initialize` button.

That’s all you need to do to create a client-based STTP Publisher, see [Reverse Connections | sttp.info](https://sttp.info/reverse-connections/).

Once the adapter is initialized it will start trying to connect to the specified STTP server-based subscriber, once connected STTP traffic should continue as normal.

Thanks,  
Ritchie

---

<div class="post-metadata">

**Author:** ![kitpm](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/k/ecccb3/32.png) [@kitpm](http://discussions.gridprotectionalliance.org/u/kitpm)\
**Post date:** [November 6, 2025, 9:18am UTC](http://discussions.gridprotectionalliance.org/t/reverse-connection-to-openhistorian2/1439/3 "2025-11-06T09:18:11Z")

</div>

Thanks, it worked! I had overlooked the ability to add a second STTP channel.  
Sorry, I forgot to answer earlier.

Best regards  
Peter
