---
title: Command line
project: BannerSystem
version: 1.0
section: reference
language: en
license: MIT
url: https://totaljs.es/docs/bannersystem/1-0/reference/command-line/
updated: 2026-11-19T04:30:09.166Z
---

# Command line

> Start BannerSystem on another port, in release mode or on one address.

Run these commands in the folder of BannerSystem.

## Start

```bash
npm start
```

This runs `node index.js 8000`: BannerSystem listens on port 8000 on all network addresses of the server.

## Choose the port

Give the port as the first argument:

```bash
node index.js 8080
```

## Release mode

```bash
node index.js 8000 --release
```

Without `--release`, BannerSystem runs in debug mode. Use release mode on a production server.

## Listen on one address only

To accept connections only from the server itself, for example behind a reverse proxy, open `index.js` and remove the two slashes in front of this line:

```javascript
options.ip = '127.0.0.1';
```

Then start BannerSystem again.

## Stop

Press `Ctrl+C` in the terminal where BannerSystem runs.
