- 31 Jan 2024
- Print
- PDF
Configuration File Settings
- Updated on 31 Jan 2024
- Print
- PDF
This file is used to configure the WCF endpoints that clients will use to connect to the service. In most cases the configuration file included with the package will work without modification, but some deployments might prefer to use different ports or protocols, or to bind it to a specific IP address on the server. The default configuration will open an unsecured NET.TCP endpoint on port 2010 and an unsecured HTTP endpoint on port 2011. Note that NET.TCP endpoints are no longer compatible with the PARCdata SQL Server CLR, but certain third-party applications can use them to communicate with PARCdata. Each endpoint will be accessible from every IP address defined on the server.
The most common change required to the .config file will be changing the ports being used. To do so, simply replace the default ports with the desired ports in this section:
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:2010/"/>
<add baseAddress="http://localhost:2011/"/>
</baseAddresses>
</host>
To remove any of the default endpoints, simply delete them from the configuration file. If necessary, new endpoints can be defined using whatever WCF bindings are desired.