Windows

This guide explains how to install, configure, and uninstall Colibri Server on Windows.

Requirements

  • Windows 10 (version 1809) or newer, or Windows Server 2019 or newer

  • Administrator privileges

  • At least 500 MB free disk space

  • .NET Framework 4.7.2 or newer (usually pre-installed)

  • Optional: Memcached for caching (recommended for production)

Installation

Download

Download the latest MSI installer from the GitHub Releasesarrow-up-right page:

# Using PowerShell
Invoke-WebRequest -Uri "https://github.com/corpus-core/colibri-stateless/releases/latest/download/colibri-server-1.0.0.msi" -OutFile "colibri-server-1.0.0.msi"

Install via GUI

  1. Double-click the downloaded .msi file

  2. Follow the installation wizard

  3. Choose installation directory (default: C:\Program Files\Colibri\)

  4. Configure server port and blockchain (optional, can be changed later)

  5. Click "Install"

  6. Allow firewall rule creation when prompted

Install via Command Line

Open PowerShell or Command Prompt as Administrator:

What Gets Installed

The installer places files in the following locations:

  • Binary: C:\Program Files\Colibri\colibri-server.exe

  • Configuration: C:\ProgramData\Colibri\server.conf

  • Windows Service: Installed as ColibriServer

  • Logs: Windows Event Log (Application) and C:\ProgramData\Colibri\logs\

  • Firewall Rule: Allows incoming TCP connections on configured port (default: 8090)

Automatic Service Start

The Colibri Server is automatically installed as a Windows Service and:

  • Starts immediately after installation

  • Starts automatically with Windows

  • Runs with restricted LocalService privileges

  • Restarts automatically on failure

The service listens on port 8090 by default.

Configuration

Edit Configuration File

Use Notepad or any text editor as Administrator:

Key Configuration Parameters

Reload Configuration

After changing the configuration, restart the service:

Memcached significantly improves performance by caching external RPC/Beacon API requests.

Install:

  1. Download memcached for Windows: https://memcached.org/downloads

  2. Or use pre-built binaries: https://github.com/nono303/memcached/releases

Run as service:

Configure:

Restart Colibri Server:

Verify it's working:

Enable Web UI (Optional)

To enable the web-based configuration interface:

  1. Edit the config file:

  2. Set WEB_UI_ENABLED=1

  3. Restart the service:

  4. Access the UI at: http://localhost:8090/ui

⚠️ Security Warning: Only enable the Web UI on trusted local networks. It has no authentication and should never be exposed to the internet.

Service Management

Using PowerShell

Using Services GUI

  1. Press Win + R and type services.msc

  2. Find "Colibri Server" in the list

  3. Right-click for Start/Stop/Restart options

  4. Double-click to configure startup type

Using Command Prompt

View Logs

Event Viewer

  1. Press Win + R and type eventvwr.msc

  2. Navigate to Windows LogsApplication

  3. Filter by source: ColibriServer

PowerShell

Log Files

Check the log directory for detailed logs:

Firewall Configuration

Check Firewall Rule

Manually Add Firewall Rule

If the installer didn't create the firewall rule:

Remove Firewall Rule

Uninstallation

Using GUI

  1. Open SettingsAppsApps & features

  2. Search for "Colibri Server"

  3. Click and select Uninstall

  4. Follow the uninstallation wizard

  5. Choose whether to keep configuration files

Using PowerShell

Using MSI File

Manual Cleanup (if needed)

If you want to remove all traces after uninstallation:

Troubleshooting

Service Won't Start

  1. Check Event Viewer logs:

  2. Common issues:

    • Port 8090 already in use → Change PORT in config file

    • Invalid RPC endpoints → Check network connectivity

    • Config file syntax error → Validate config file format

    • Permission issues → Ensure service has necessary permissions

  3. Test manually:

Port Already in Use

Check what's using port 8090:

Either stop that process or change the port in C:\ProgramData\Colibri\server.conf.

Permission Denied Errors

Ensure the service has read access to configuration:

Service Crashes Immediately

Check for missing DLL dependencies:

Firewall Blocking Connections

Temporarily disable Windows Firewall to test:

If it works with firewall disabled, add the rule manually (see Firewall Configuration section).

Building from Source

If you want to build the installer yourself:

Requirements:

  • Visual Studio 2022 (or newer) with C++ build tools

  • WiX Toolset 3.11+ (https://wixtoolset.org/)

  • CMake (https://cmake.org/)

Output: ..\..build\colibri-server-1.0.0.msi

Support

  • Documentation: https://corpus-core.gitbook.io/specification-colibri-stateless

  • Issues: https://github.com/corpus-core/colibri-stateless/issues

  • Email: jork@corpus.io

License

The Colibri core library is licensed under the MIT License.

The server component is dual-licensed:

  • PolyForm Noncommercial License 1.0.0 for non-commercial use

  • Commercial License required for commercial use (contact jork@corpus.io)

Last updated