dopbase client connect
dopbase client connect selects the server used by later client commands.
When no server has been selected, Dopbase uses the local default automatically:
http://localhost:8840You can therefore start a default local server and sign in without running connect first:
dopbase serve
dopbase loginConnect to another server
Select a self-hosted or Cloud endpoint:
dopbase client connect https://dopbase.example.comThe command normalizes the URL and verifies that it is a compatible Dopbase server before changing machine-global state. If validation fails, the previous server and credential remain active.
Connecting does not authenticate. A successful server change removes the old saved credential, so sign in separately:
dopbase loginReturn to the local server
Use the local alias:
dopbase client connect local
dopbase loginAfter validating http://localhost:8840, Dopbase removes the configured server override and returns to the implicit local default.
Cloud uses the same command
dopbase client connect <dopbase-cloud-url>
dopbase loginThe Cloud URL has not been published. Dopbase Cloud is planned to use the same client and REST model as a self-hosted server.
Machine-global state
The selected endpoint is stored in the user's global Dopbase configuration, not in an application repository. Login credentials are stored separately in the operating system credential store. No active project or environment is saved.
Use dopbase config to inspect the effective endpoint and authentication status without displaying token contents. Read client configuration for the file format, precedence rules, and multi-instance behavior.
Safety behavior
Once a remote endpoint is configured, an outage causes client commands to fail. Dopbase does not silently switch to localhost, another self-hosted server, or Cloud. The implicit local default applies only when no server is configured or overridden.