# How to change the RTMP port

## Default command

This is the default command to start the Docker container with your Restreamer on port 1935.

```
docker run ... -p 1935:1935 ... 
```

## Custom command&#x20;

This is the command with a custom RTMP port.

```
docker run ... -p CUSTOM_PORT:1935 ... 
```

### For example with Port 1200

```
docker run ... -p 1200:1935 ... 
```

## Learn more

{% content-ref url="../../installing" %}
[installing](https://docs.datarhei.com/restreamer/installing)
{% endcontent-ref %}

{% content-ref url="../manual" %}
[manual](https://docs.datarhei.com/restreamer/knowledge-base/manual)
{% endcontent-ref %}
