Ports used by the system

Erlang

epmd

Used to determine the port for subsequent connection of one node to another. Between all servers. Within a site and between sites. 4369 constant, TCP.

nodes

Port range that nodes can use to interact with each other.

  • srvshell — 9300 - 9309, TCP. Configured in the server startup script.

  • role nodes — 9310 - 9399, TCP. Configured in the configuration (nodesportrange parameter).

Megaco

Between mg and mgc. Only within a site.
Configured in the configuration in role options. Each role instance on one server has its own port.
TCP.

Standard values: mgc — 2954, mg — 2944 (for mg — set in the config but not used).

Http, Websocket

Used in webserver roles.
Configured in the configuration in role options.
TCP.

By default: http — 80, https — 443. For receiving requests over http and websocket.

SIP

Between all SIP roles. Between b2b servers and any other sip roles on all sites, as well as between esg and providers (external PBXs) and between gate and corporate subscribers.
Configured in the configuration in role options.

Values from standard configurations:

  • 5060, 5061, 5063 — sg role.

  • 5060, 5061, 5063 — redirect role.

  • 5080, 5081 — esg role.

  • 5085 — conf role.

  • 5090 — b2b role.

  • 5095 — ivr role.

  • 5098 — prompt role.

It is recommended to reserve the range 5060-5099 for SIP signaling needs.
Between servers — TCP.
Externally depends on external device settings: TCP, UDP, TLS

RTP

Between mg, between mg and uplinks (providers or external PBXs), between mg and internal subscriber devices.
UDP.

By default: 10000-20000.
Configured in the configuration in role options.
All instances on one server must have non-overlapping ranges.
For a rough calculation of the required amount: one conversation uses 4 ports from the range. IVR adds 2 more. Each conference participant adds 2 more. A border gateway, if used, adds 4 more. Video multiplies by two. And there must be a reserve — the peak count is multiplied by two. If a server fails, the entire load from its media gateways is applied to the remaining servers.

Database

Postgresql

Between domaincenter and postgresql, between dms and postgresql.
TCP.

By default: 5432.
Configured in the configuration in domaincenter role options and optionally dms. It can also be configured when creating a storage entity with type postgresql for dms role needs.
Additionally, script machines can use external DB connections.

KAFKA

Between dms and kafka.
TCP.

By default: 9092.
Configured in the parameters of a storage entity with type kafka for dms role needs.

Clickhouse

Between dms and clickhouse.
TCP (HTTP).

By default: 8123.
Configured in the parameters of a storage entity with type clickhouse for dms role needs.

Meet

Port for the Meet server listener, configured in the meet role option. Additionally, ports for the turn service may be involved (disabled by default).
TCP.

Standard value: 4123

Tftp autoprovision

TFTP service port (UDP).
Configured in the configuration in role options.

By default: 69

PNP service port ()
224.0.1.75:5060 — broadcast port
5059 — local UDP port from which NOTIFY is sent.