You are viewing an earlier version of the admin guide. For the latest version, please visit EmpowerID Admin Guide v7.211.0.0.

Skip to end of banner
Go to start of banner

Configure Proxy Settings to Avoid Connection Refused Error

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

If you are using a Proxy server and EmpowerID needs to communicate with systems outside your network, you need to perform the following procedure to avoid receiving an "Unable to connect to the remote server → System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it." To resolve the error, add the proxy settings in the configurations file for Web.SiteRoot and the EmpowerID Worker Role Windows service.

Configure Proxy Settings

  1. Get the correct proxy address from the Internet Explorer > Internet Options > Connections > LAN Settings > Advanced section.


  2. Edit the web.config located in <Installation Folder>\TheDotNetFactory\EmpowerID\Web Sites\EmpowerID.Web.SiteRoot
  3. Edit the below XML Configuration files in <Installation Folder>\TheDotNetFactory\EmpowerID\Programs

    1. EmpowerIDWorkerRoleService.exe.config
    2. EmpowerIDWorkerRoleService_WorkerProcess.exe.config
  4. Add the system.net section under the configuration tag. Configure the bypassonlocal value as configured in the LAN Settings.
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    ...
      <system.net>
        <defaultProxy>
          <proxy  proxyaddress="http://10.28.64.65:8080" bypassonlocal="true" />
          <bypasslist>
            <add address="\w+.customerpr.com$" />
            <add address="\w+.customer.com$" />
            <add address="\w+.org$" />
          </bypasslist>
        </defaultProxy>
      </system.net>
    ...
    </configuration>






  • No labels