Connecting to different openHistorian in another system through Python openHistorian API on local system

Hi Ritchie,
I am trying to connect to a different openHistorian in a separate computer using the IP address in the openHistorian python API but I am unable to do so:

def readTest(startTime,endTime,interval, tolerance):

# Create historian connection (the root API object)

historian = historianConnection("XX.XX.XXX.XXX")

instance: Optional[historianInstance] = None

Failed to connect: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Do we need to open any specific ports or create some rules?


Likely a local firewall issue. Add openHistorian.exe as a firewall exception.