--- title: "Starting the DataJet Server" slug: "starting-datajet-server" updated: 2026-06-19T15:02:06Z published: 2026-06-19T15:02:06Z canonical: "docs.datajet.app/starting-datajet-server" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # Starting the DataJet Server DataJet Server runs as the executable `DatajetServer.exe`. It is normally launched from a start-up script that sets the required file locations and ports, reads the [server configuration file](/v1/docs/server-configuration-file), and starts the core processor and socket server. ## Start-up script The server is started with a small script (for example, a Windows batch file) that changes to the binary folder and runs `DatajetServer.exe` with the required [command-line options](/v1/docs/command-line-options): ```bat cd bin DatajetServer.exe path=f:\datajet\ bin=f:\datajet\bin\ porta=5555 portb=5556 shareddatapath=D:\DJSharedData\sources datapath=f:\datajet\datasources\ mongoURL=127.0.0.1 mongoPort=27017 rms=48 pause ``` `pause` keeps the console window open after the process exits so that any start-up messages remain visible. Each parameter is described in [command-line-options](/v1/docs/command-line-options). ## Configuration sources Settings come from two places, applied in this order: 1. **Command-line options** in the start-up script (see [command-line-options](/v1/docs/command-line-options)). 2. **The server configuration file** `djserver.cnfg` (see [server-configuration-file](/v1/docs/server-configuration-file)). Where a setting appears in both, the value in `djserver.cnfg` takes precedence. ## Default ports If not otherwise set, the server listens on port **5555** for client/desktop connections and **5556** for the core processor. ## Start-up log On start-up the server writes a log (its location is shown as the `Log` line) recording the active configuration. Typical entries include: | Entry | Meaning | | --- | --- | | DatajetServer `<version>` | Server build version. | | Running On `<machine>` | Host machine name. | | INI Path | Configuration-file folder, shown only when `inipath` is set. | | Pool Size | Active process pool size. | | Fragments / Cache / RMS / LGb | Engine tuning values in effect. | | System Root / Binary Root / Data Root | Resolved `path`, `bin`, and `datapath` locations. | | Local Login | Whether local login is allowed. | | Plugins | Number of script plugins loaded. | | Initializing Mongo / Core / Server | Start-up sequence reaching the database, core processor, and socket listener. | The `RMS` value shown here is the current Requestable Memory Size; it can also be read or temporarily changed at runtime from the [Command Line](/v1/docs/command-line#rms) console. ## Related - [command-line-options](/v1/docs/command-line-options) — start-up parameter reference. - [server-configuration-file](/v1/docs/server-configuration-file) — `djserver.cnfg` reference. - [DataJet Server Minimum Specifications](/v1/docs/djserverminspec).