There are 2 possible reasons to change the TCP port of the BuildSoftServer
- To run 2 Diamonds versions next to each other
- The current port is not available for the user (conflicts or restrictions)
Steps to follow
-
- Close all Diamonds versions
- Verify in Task Manager that all instances of BuildSoftServer.exe are closed
- Open the installation directory of Diamonds (usually C > Program Files > BuildSoft > Diamonds {currentversion}
- Copy the client.config file to your desktop
- Open this file with Notepad and edit the port for the remote types (replacing 13579)
<client url="tcp://localhost:13579"> <wellknown type="BuildSoftContract.IBuildSoftFactory, BuildSoftContract" url="tcp://localhost:13579/BSFactory" /> </client>
- Save and copy this file back to the Diamonds installation directory
- Go to the sub folder DiamondsCalculations
- Copy the BuildSoftServer.exe.config file to your desktop
- Open this file with Notepad and edit the port for the remote types<
<channel ref="tcp" port="13579"> ... </channel>
- Save and copy this file back to the DiamondsCalculations directory