---
title: Run on another port
project: CMS
version: 1.0
section: recipes
language: en
license: MIT
url: https://totaljs.es/docs/cms/1-0/recipes/change-port/
updated: 2026-11-19T04:30:19.172Z
---

# Run on another port

> Start the app on the port you choose.

The app can use any free port. Choose one of these two ways.

## In the start command

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

## In the configuration file

Add this line to the [configuration file](../../reference/configuration/):

```text
$port                 : 8080
```

Then start the app without a port:

```bash
node index.js
```

Open `http://localhost:8080/` in your browser.
