The service configuration is stored in the PrimeThought.Licensing.Service.exe.config file in the installation folder.
It has the following layout:
<?xml version="1.0"?>
<configuration>
<!-- Uncomment the section below to enable tracing. -->
<!--
<system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
propagateActivity="true">
<listeners>
<add name="traceListener"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData= "c:\PrimeThoughtLicense.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
-->
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="PrimeThought.Licensing.Service.RequestServiceBehavior">
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="PrimeThought.Licensing.Service.RequestServiceBehavior" name="PrimeThought.Licensing.Service.RequestService">
<endpoint address="" binding="wsHttpBinding" contract="PrimeThought.Licensing.Service.IRequestService">
<identity>
<dns value="localhost"/>
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
<host>
<baseAddresses>
<add baseAddress="http://localhost:31416/License"/>
</baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
To change the service URL change the bolded localhost value to the server machine name, and the bolded url http://localhost... to the desired URL with the same machine name.
|