> For the complete documentation index, see [llms.txt](https://sheita.gitbook.io/sysmonitoring/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sheita.gitbook.io/sysmonitoring/functions/startserver.md).

# startServer()

## `startServer()`

### Overview

The `startServer()` function starts the monitoring dashboard server, making it accessible via a web browser. Once called, it begins serving real-time system statistics (CPU, memory, ping) to clients.

### Usage

```js
monitoring.startServer();
```

### Description

* **`startServer()`** initializes the server on the specified port and starts sending system stats.
* Once the server is running, you can access the dashboard at `http://127.0.0.1:<port>/monitoring`.

By default, the server runs on port `3000`, but you can change it in the configuration options.
