Running DomainService behind a proxy

Running the DomainService behind a proxy is easy. You need to setup the proxy settings in the DomainService.exe.config file. 

The proxy information here:

https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/network/proxy-element-network-settings

and here:

https://stackoverflow.com/questions/14011789/how-to-set-proxy-settings-for-my-application-in-net

You can put proxy server setting in the DomainService.exe.config file by adding lines like the following highlighted lines that include your proxy settings.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
</startup>
<system.net>
<defaultProxy>
<proxy
usesystemdefault="true"
proxyaddress="http://proxyserver:8080"
bypassonlocal="true"
/>
</defaultProxy>
</system.net>
</configuration>

Set the proxyserver address to whatever it really should be.

The “:8080” will be needed at the end of the proxy address if the port is listed as 8080 in the proxy setup.

Let us know if this makes sense or works, and if not, we can look into it more together and figure it out.