> ## Documentation Index
> Fetch the complete documentation index at: https://private-04b27de1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.coding.jupyter.LocalJupyterServer

<h2 id="autogen.coding.jupyter.LocalJupyterServer" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">LocalJupyterServer</span>
</h2>

```python theme={null}
LocalJupyterServer(
    ip: str = '127.0.0.1',
    port: Optional[int] = None,
    token: str | GenerateToken = &lt;autogen.coding.jupyter.local_jupyter_server.LocalJupyterServer.GenerateToken object&gt;,
    log_file: str = 'jupyter_gateway.log',
    log_level: str = 'INFO',
    log_max_bytes: int = 1048576,
    log_backup_count: int = 3
)
```

(Experimental)

Runs a Jupyter Kernel Gateway server locally.<br />

<b>Parameters:</b>

| Name               | Description                                                                                                                                     |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `ip`               | **Type:** str<br /><br />**Default:** '127.0.0.1'                                                                                               |
| `port`             | **Type:** Optional\[int]<br /><br />**Default:** None                                                                                           |
| `token`            | **Type:** str \| GenerateToken<br /><br />**Default:** \<autogen.coding.jupyter.local\_jupyter\_server.LocalJupyterServer.GenerateToken object> |
| `log_file`         | **Type:** str<br /><br />**Default:** 'jupyter\_gateway.log'                                                                                    |
| `log_level`        | **Type:** str<br /><br />**Default:** 'INFO'                                                                                                    |
| `log_max_bytes`    | **Type:** int<br /><br />**Default:** 1048576                                                                                                   |
| `log_backup_count` | **Type:** int<br /><br />**Default:** 3                                                                                                         |

### Class Attributes

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### GenerateToken

<br />

<br />

### Instance Attributes

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### connection\_info

<br />

Return the connection information for this connectable.

### Instance Methods

<code class="doc-symbol doc-symbol-heading doc-symbol-method" />

#### get\_client

```python theme={null}
get_client(self) -> JupyterClient
```

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-method" />

#### stop

```python theme={null}
stop(self) -> None
```

<br />
