# Local Server

To access the Local Server page, make sure that Developer Mode is enabled. If it is not already active, activate it by clicking the Developer Mode toggle located in the bottom-left corner. Then navigate to the Local Server page by selecting the code icon in the left sidebar.

<div align="left"><figure><img src="/files/XYEkVScwL45lsTrzkvaf" alt="" width="563"><figcaption></figcaption></figure></div>

### Configuration Options

The **Local Server** page provides several settings to configure how the server operates.

<table><thead><tr><th width="237">Parameters</th><th>Description</th></tr></thead><tbody><tr><td>Server port</td><td>Defines the port number the server uses to listen for incoming connections, enabling client access via the specified port.</td></tr><tr><td>Verbose Server Logs</td><td>Activates detailed token predictions in server logs unless streaming is enabled.</td></tr><tr><td>Apply Prompt Formatting</td><td>This setting adjusts to different formatting requirements of various models. When enabled, prompt prefixes/suffixes are automatically handled.</td></tr><tr><td>Share to Local Network</td><td>Enable connections from other devices within the local network. When disabled, the server will only be accessible on localhost.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.sanctum.ai/dev-mode/local-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
