Notch Notch Manual 1.0
 Light | Dark
Codemeter Network License Server

Codemeter Network License Server

Introduction #

Codemeter License Server provides network wide access to the following products without the requirement for physical dongles in workstations or nodes.

  • Notch Builder Learning (for educational institutions)
  • NotchLC Advanced Pipeline Tools (APT)

A Codemeter dongle containing the licenses is connected to the License Server, and the workstations / nodes connect to the License Server over the network to access the licenses.

License Server Requirements #

  • OS: Windows 10 or Windows Server 2012 or later.
  • Connectivity: One free USB port for the licensing dongle
  • Network: TCP access from the workstations / nodes on port 22350

License Server Installation #

To setup the license server, first ensure you have activated your licensing dongle as per email instructions.

When you define network settings, in some cases, this requires the restart of the CodeMeter service. After you specified the settings you are able to stop and then restart the CodeMeter service in CodeMeter Control Center.

On the server:

  1. Download and install CodeMeter User Runtime for Windows
  2. Open ‘CodeMeter Control Center’
    1. Go to: File->WebAdmin
    2. In the Web Interface go to the menu: Configuration -> Server -> Server Access
    3. Enable ‘Network Server’ and keep the default port 22350
    4. Click Apply serversetup
Please note this will enable LAN connections (TCP connections to 22350). Please ensure that your firewall is allowing TCP access to this port on the License Server.

Workstation / Node Installation #

NotchLC APT (Advanced Pipeline Tools) #

Each workstation or node that requires access to the licenses will need to have the CodeMeter User Runtime for Windows installed on it.

Once this is installed, run NotchLC APT on the workstation or node. The software will automatically search for the License Server (via a 255.255.255.255 UDP broadcast) and connect to it.

In more complex network topologies, you may need to directly specify the IP address of the Network License Server. See instructions below for more details.

Builder Workstation Installation #

The latest version of Notch Builder PLE includes Codemeter Runtimes that will search for the License Server (via a 255.255.255.255 UDP broadcast) and automatically retrieve the licenses. Simply download and install the latest version of Notch Builder PLE and run the software.

In more complex network topologies, you may need to directly specify the IP address of the Network License Server. See instructions below for more details.

Directly setting the License Server IP Address #

In some cases, you may need to manually specify the IP address of the Network License Server on the workstation / node. This is common in complex network topologies where UDP broadcast may not be possible.

There are three ways to specify the IP address of the License Server: UI, Registry, or Server.ini file.

UI Method #

On the workstation / node:

  1. Open ‘CodeMeter Control Center’
    1. Go to: File->Preferences
    2. In the Web Interface go to the menu: Click Add new server
    3. Enter the IP address of the License Server
    4. Click Add
    5. Click Apply

Registry Method #

The Server Search List is stored on a workstation / node in the registry under the following key: HKEY_LOCAL_MACHINE\SOFTWARE\WIBU-SYSTEMS\CodeMeter\Server\CurrentVersion\ServerSearchList\Server1 with a REG_SZ value of Address set to the IP address of the server.

You can script the addition of this registry key using the following command, substituting <YourLicenseServerIP> with the IP address of your license server.:

Command Prompt (as Administrator):

REG ADD "HKLM\SOFTWARE\WIBU-SYSTEMS\CodeMeter\Server\CurrentVersion\ServerSearchList\Server1" /v Address /t REG_SZ /d "<YourLicenseServerIP>" /f
net stop "CodeMeter Runtime Server"
net start "CodeMeter Runtime Server"

Powershell (as Administrator):

New-Item -Path "HKLM:\SOFTWARE\WIBU-SYSTEMS\CodeMeter\Server\CurrentVersion\ServerSearchList\Server1" -Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\WIBU-SYSTEMS\CodeMeter\Server\CurrentVersion\ServerSearchList\Server1" -Name "Address" -Value "<YourLicenseServerIP>"
Restart-Service -Name "CodeMeter Runtime Server"

Server.ini Method #

On the workstation / node set the Server.ini file in the following location:

%Program Files%\CodeMeter\Runtime\bin

With the content of Server.ini being:

[ServerSearchList]

[ServerSearchList\Server1]
Address=<YourLicenseServerIP>