Use a config file to set the proxy for older systems
- Last UpdatedMay 09, 2023
- 2 minute read
If you are running an older version of Historian, you may need to use a config file to set the proxy. To do this, you will need some information found in the Internet Properties dialog box, which you can access via your browser.
To find the port used by the HTTP proxy
-
Open Internet Properties.
-
From Chrome:
1. Select Settings and then select Show advanced settings.
2. Under Network, select Change proxy settings.
-
From Internet Explorer:
-
From the Tools menu, select Internet Options.
-
-
-
In the Internet Properties dialog box, select the Connections tab, and select LAN settings. The View the Local Area Network (LAN) Settings dialog box shows the IP address and port used by the HTTP proxy for your computer.

Use the IP address and port in the config file you create next.
To set the proxy using a config file
-
Create a .config file using this standard .NET format:
<?xml version="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy
usesystemdefault="False"
bypassonlocal="False"
proxyaddress="http://192.168.1.120:8118/" />
</defaultProxy>
</system.net>
</configuration>
In the example above, the proxyaddress= line indicates the same IP address and port as shown in the Local Area Network (LAN) Settings dialog box.
-
Edit the proxyaddress= line to show the proxy's IP address and port in URL format as follows:
proxyaddress="http://<IP_address>:<port_number>"
-
Save the file with name and location as follows:
-
Name: aahIDAS.exe.config
-
Folder: The same folder as the aahIDAS.exe file (normally C:\Program Files\Wonderware\HistorianPublisher).
Or, for use with replication:
-
Name: aahReplication.exe.config
-
Folder: The same file as the aahReplication.exe file (usually either C:\Program Files\Wonderware\Historian or C:\Program Files (x86)\Wonderware\Historian\x64).
-