1. Home
  2. Diamonds
  3. Calculation core & results
  4. Modify TCP Port of BuildSoftServer

Modify TCP Port of BuildSoftServer

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

    1. Close all Diamonds versions
    2. Verify in Task Manager that all instances of BuildSoftServer.exe are closed
    3. Open the installation directory of Diamonds (usually C > Program Files > BuildSoft > Diamonds {currentversion}
    4. Copy the client.config file to your desktop
    5. 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>
    6. Save and copy this file back to the Diamonds installation directory
    7. Go to the sub folder DiamondsCalculations
    8. Copy the BuildSoftServer.exe.config file to your desktop
    9. Open this file with Notepad and edit the port for the remote types<
      <channel ref="tcp" port="13579">
      ...
      </channel>
    10. Save and copy this file back to the DiamondsCalculations directory

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT