[KBA-00170] Default communication port settings for Omnicast™ 4.x - Omnicast™ 4.0 - 4.8

Omnicast™ 4.0 - 4.8

[KBA-00170] Default communication port settings for Omnicast™ 4.x

This article lists the default settings for communication ports in Omnicast™ 4.x systems.


To ensure your Omnicast™ system works properly, open all the listed ports that are relevant to the services installed on your system.


The Directory communicates only with the Gateway through a local TCP channel.
Directory port (default 7998)
This port number is used by the primary Gateway (the only Gateway that connects directly to the Directory) to detect the presence of the Directory service. Its value should match the Directory port configured in the general settings of the Gateway directly connected to this Directory.
NOTE: It is recommended to choose a different directory port only for a network where multiple independent directory systems are running.
Start Multicast Address and Port
In multicast, all sources (audio and video) are streamed using the same port but with a different multicast IP address for each, because multicast switches and routers use the destination IP to make their routing decisions.

The Directory assigns the same port to each multicast encoder, but increments the multicast address starting with 'Start multicast address'. The first encoder will use 'Start multicast address' and the next one will use 'Start multicast address' + 1, so on and so forth.


Incoming TCP connection settings
TCP command port (default 5001)
This port is used by the Gateway to listen for incoming client connections. When the default port 5001 isn't used, the client will need to specify the port number after the Gateway name. For example: gateway_name:4812
TCP video port (default 5002)
This is the port that Gateway uses to listen for incoming TCP video connections. If the Gateway is running behind a firewall, make sure that this port is unlocked for inbound packets for TCP packets.
Outgoing UDP data settings
Use port from (default 8000 to 9000)
Specify here the range of ports that the Gateway can use to send video using UDP. The first port number is also used as a discovery port, i.e. to determine if unicast connections are supported between the Gateway and the remote client. If the Gateway is running behind a firewall, make sure that this port is unlocked for outbound packets for UDP packets.
NOTE: It is recommended to choose different TCP and UDP ports for the following cases:
  • A network where multiple independent directory systems are running
  • In the case where you have 1 directory but multiple gateways on your system

Connection settings

This section specifies the parameters used by the Gateway when establishing a connection with a client. While processing a client connection, the Gateway detects the video connection types (Multicast, Unicast UDP or Unicast TCP) supported by the client.
Multicast Test Address (default
Multicast address used to determine if multicast connections are supported between the Gateway and the clients (applications or services).

The firewall rules when the Gateway is behind a firewall:

Port description Number (default) Protocol Direction
TCP Command Port 5001 TCP Inbound
TCP Video Port 5002 TCP Inbound
UDP Video Ports 8000 - 9000 UDP Outbound
Web Client Port 80 TCP Inbound


Video is streamed from the encoder to the Archiver using either a unicast or a multicast UDP video stream, and in some cases TCP.
Unicast video transmission
UDP ports 15000 to 16000
NOTE: If a firewall is installed between the Archiver and the encoder, the whole port range 15000-16000 must be opened on the firewall.
  • Video port: (default 47806)
  • Audio port: (default 47807)
NOTE: Directory Audio / Video ports have to be changed manually when installing more than one server on the same network to avoid any conflicts.

Video Playback connections are requested on the Archiver using TCP ports 6060 to 6080.

Unicast UDP streams are sent from the Archiver to the Gateway on ports 28000 to 29000.


The outbound TCP Port 5001 and 5002 must be available for the remote gateway.

The TCP port 6000 is used as the starting port number for video connections used for federated cameras.

Directory Failover Coordinator

TCP Port connection settings
TCP Command Port (default 7999)
This is the TCP connection port where the DFC service listens for incoming client connections.

Failover Directory connects to the primary Directory through the Gateway using only the TCP port 5001.

Virtual Matrix

Video port (default 6000)
The starting TCP port number used by the Virtual Matrix for video connections used for camera sequences. No change needed!