954b9cc9cc
When the historian is reached through a port-forward whose local port differs from the server's real service port, WCF's server-side AddressFilter rejects the message (To = tunnel port != server port). ConnectViaAddress lets the channel connect to the tunnel while addressing the SOAP To the real Host/Port endpoint. Applied in HistorianWcfClientCredentialsHelper.Configure (the critical event factories already call it). The C2 spike reads HISTORIAN_WCF_EVENT_VIA. Claude-Session: https://claude.ai/code/session_012SDSQ3AcaXqPcBtDESBRii