ServiceControl Error and Audit instances store data in a RavenDB database. Some advanced operations require accessing that database directly.
Accessing RavenDB Studio requires a modern web browser. Internet Explorer is not supported.
The database is intended to be used only by the ServiceControl instance and is not intended for external manipulation or modifications.
How the database is accessed depends on whether ServiceControl is deployed on Windows or on containerized infrastructure.
Windows deployment
When logged on to the server where ServiceControl is installed, the database is always available, as it is implemented as a separate process.
Access the database at:
- Error Instance: http://localhost:33334 (or the configured database maintenance port)
- Audit Instance: http://localhost:44445 (or the configured database maintenance port)
The database can be accessed without stopping or restarting the ServiceControl instance, though maintenance mode can still be used for some operations.
Maintenance mode
When running in Maintenance Mode, a Windows ServiceControl instance will only run the database. The API will not be available, and messages will not be ingested from any queues. This is useful to be able to inspect and perform administrative functions on the database without any modifications from the application being possible.
From ServiceControl 7, maintenance mode is supported only with embedded RavenDB, where ServiceControl manages the database process. Error and Audit instances using an external RavenDB server do not start in maintenance mode. Stop the ServiceControl instance and access the external database directly instead, leaving the database server running. To enable maintenance mode with embedded RavenDB:
- Launch ServiceControl Management.
- Click the wrench 🔧 icon to open Advanced Options.
- Click Start Maintenance Mode.
- Click the RavenDB Management Studio link to access the RavenDB interface.
- Click Stop Maintenance Mode. This stops the instance.
- Start the instance to resume normal operation.

Container deployment
When deployed using containers, the database runs in a separate container than the ServiceControl instance. The database can be accessed at any time on port 8080 of the database container.
To perform database maintenance without ServiceControl modifying the database, stop the ServiceControl container while leaving the database container running.
Do not enable MaintenanceMode on the ServiceControl container. From ServiceControl 7, maintenance mode is not supported with an external RavenDB server, including one running in a separate container, and prevents the ServiceControl instance from starting.