---
title: "RTCD Setup and Configuration"
---
| Service | Ports | Protocols | Source | Target | Purpose |
|---|---|---|---|---|---|
| API (Calls plugin) | 80,443 | TCP (incoming) | Mattermost clients (web/desktop/mobile) | Mattermost instance (Calls plugin) | To allow for HTTP and WebSocket connectivity from clients to Calls plugin. This API is exposed on the same connection as Mattermost, so there's likely no need to change anything. |
RTC (Calls plugin or rtcd) |
8443 | UDP (incoming) | Mattermost clients (Web/Desktop/Mobile) and calls-offloader | Mattermost instance or rtcd service |
To allow clients to establish connections that transport calls related media (e.g. audio, video). This should be open on any network component (e.g. NAT, firewalls) in between the instance running the plugin (or rtcd) and the clients joining calls so that UDP traffic is correctly routed both ways (from/to clients). |
RTC (Calls plugin or rtcd) |
8443 | TCP (incoming) | Mattermost clients (Web/Desktop/Mobile) and calls-offloader | Mattermost instance or rtcd service |
To allow clients to establish connections that transport calls related media (e.g. audio, video). This should be open on any network component (e.g. NAT, firewalls) in between the instance running the plugin (or rtcd) and the clients joining calls so that TCP traffic is correctly routed both ways (from/to clients). This can be used as a backup channel in case clients are unable to connect using UDP. It requires rtcd version >= v0.11 and Calls version >= v0.17. |
API (rtcd) |
8045 | TCP (incoming) | Mattermost instance(s) (Calls plugin) | rtcd service |
To allow for HTTP/WebSocket connectivity from Calls plugin to rtcd service. Can be exposed internally as the service only needs to be reachable by the instance(s) running the Mattermost server. |
STUN (Calls plugin or rtcd) |
3478 | UDP (outgoing) | Mattermost Instance(s) (Calls plugin) or rtcd service |
Configured STUN servers | (Optional) To allow for either Calls plugin or rtcd service to discover their instance public IP. Only needed if configuring STUN/TURN servers. This requirement does not apply when manually setting an IP or hostname through the ICE Host Override config option. |