Setting up a local discovery service is necessary when the player and server doesn't have an internet access, but you still want to benefit from the discovery code method of registering players.

The instructions below apply to an on-prem server.

The setup consists of three steps: 1. Setting up the discovery service and the helper discovery API. 2. Settings in server. 3. Setting up the player. 


Set up discovery service and helper discovery API

  • Extract the files in the attached zip to the folder "C:\DISE Server Data\discovery".
  • Open a command prompt as administrator.
  • Type in the following:
    reg query HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\DISE\ServerCom /v DBPassword
  • Select and copy the value of "DBPassword" (should be to the right of "REG_SZ").
  • Edit the file "C:\DISE Server Data\discovery\config.json" in a text editor.
    Where it says **DB_PASSWORD**, paste the password.
  • Save and exit.
  • Edit the file "C:\DISE Server Data\discovery\api\config\default.json" in a text editor.
  • Where it says **DB_PASSWORD**, paste the password.
  • Save and exit. 
  • Copy the file "discovery.conf" to the folder "C:\DISE Server Data\nginx\conf\conf.d".
    This will enable the server to recognize and serve discovery codes.
  • Open a command prompt as administrator. Type in the following commands:

  • "%PROGRAMFILES(X86)%\DISE\DISE Server\nssm" install DISEDiscovery "C:\DISE Server Data\discovery\discovery_service.exe"
    cd "C:\DISE Server Data\discovery\api"
    "%PROGRAMFILES(X86)%\DISE\DISE Server\node12\npm" install --production --scripts-prepend-node-path
    "%PROGRAMFILES(X86)%\DISE\DISE Server\nssm" install DISEDiscoveryAPI "%PROGRAMFILES(X86)%\DISE\DISE Server\node12\npm.cmd" start --scripts-prepend-node-path
    "%PROGRAMFILES(X86)%\DISE\DISE Server\nssm" set DISEDiscoveryAPI AppDirectory "C:\DISE Server Data\discovery\api"
    sc start DISEDiscovery
    sc start DISEDiscoveryAPI
    sc stop DISEServerNginx
    sc start DISEServerNginx


  • Make sure that "discovery0" DNS points to the IP of the server.
    (Can point using the host file on the server and on the player but we recommend using the DNS)

  • Confirm that the discovery service is working open a web browser and go to "http://discovery0/discovery/codes/000000".
    You should get a reply saying: Code not found.

  • If you need to change which DNS name should be used, please do the following: 
  • Edit the file "C:\DISE Server Data\nginx\conf\conf.d\discovery.conf" in a text editor.
    Look for the line
    server_name discovery0;
  • change "discovery0" to be what you need it to be.
  • Restart the DISEServerNginx Windows service.


Settings in server

  • Open regedit and go to the key "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\DISE\ServerCom"
  • Add the string value LocalDiscoveryServer with a value being the DNS name to the discovery server, without http://. 

  • Run the file "C:\Program Files (x86)\DISE\DISE Server\DISEServerInstaller.bat" again.
    You don't have to change anything. 

Set up Premium 

It is possible to create a custom installer which automatically sets the local discovery server. 

Contact DISE Support or check out this article for more details: 

Create custom installer

  • Open regedit and go to the key "HKEY_CURRENT_USER\SOFTWARE\DISE\ServerCom"
  • Add the string value LocalDiscoveryServer with a value being the DNS name to the discovery server, without http://. 
  • Start DISE Control Center and verify that it can get a discovery code.
    The local discovery code should end with a "0".