> For the complete documentation index, see [llms.txt](https://docs.vega25.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vega25.com/surestream-9/ports.md).

# Ports

Direct Camera-to-Client Failback without Redundant Servers

SureStream uses the following ports. Please ensure these ports are open before configuring/using SureStream. This set is different from the set of ports commonly used by Milestone XProtect.

## At the Management Client on the Management Server

| Protocol | Transport Layer | Port (Camera-Specific)                    | Direction at the Management Client | Description                                         |
| -------- | --------------- | ----------------------------------------- | ---------------------------------- | --------------------------------------------------- |
| HTTP     | TCP             | 80 (or the camera’s configured HTTP port) | Outbound                           | Communication between Management Client and Camera. |

## At Each Smart Client

| Streaming Mode                    | Protocol     | Transport Layer | Port                                                                              | Direction at the Smart Client | Description                                                                                                                       |
| --------------------------------- | ------------ | --------------- | --------------------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| Unicast – HTTP Tunnelling         | HTTP         | TCP             | 80 (or camera-specific HTTP port)                                                 | Outbound                      | Communication between Client and Camera, including PTZ commands. Unicast video streaming through HTTP tunneling.                  |
| Unicast – Without HTTP Tunnelling | HTTP         | TCP             | 80 (or camera-specific HTTP port)                                                 | Outbound                      | Communication between Client and Camera, including PTZ commands. Unicast video streaming through HTTP tunneling.                  |
| Unicast – Without HTTP Tunnelling | RTSP         | TCP             | 554 (or camera-specific RTSP port)                                                | Outbound                      | Video Stream Control for unicast / multicast.                                                                                     |
| Unicast – Without HTTP Tunnelling | RTP          | UDP             | Dynamic ports                                                                     | Inbound                       | Video stream data.                                                                                                                |
| Unicast – Without HTTP Tunnelling | RTCP         | UDP             | Dynamic ports (RTP port + 1)                                                      | Inbound and Outbound          | RTP reports for multicast video for QoS (Quality of Service) and to compensate for delays.                                        |
| Multicast                         | HTTP         | TCP             | 80 (or camera-specific HTTP port)                                                 | Outbound                      | Communication between Client and Camera, including PTZ commands.                                                                  |
| Multicast                         | RTSP         | TCP             | 554 (or camera-specific RTSP port)                                                | Outbound                      | Video Stream Control for multicast.                                                                                               |
| Multicast                         | RTP          | UDP             | Multicast port configured for the camera in SureStream (in the Management Client) | Inbound                       | Multicast video stream.                                                                                                           |
| Multicast                         | RTCP         | UDP             | RTP port + 1 (e.g., RTP 10000/10002 ⇒ RTCP 10001/10003 must also be allowed)      | Inbound and Outbound          | RTP reports for multicast video for QoS (Quality of Service) and to compensate for delays.                                        |
| Multicast                         | IGMP         | N/A             | N/A                                                                               | Inbound and Outbound          | Responds to multicast membership queries, multicast group joins, sends membership reports, and group leaves.                      |
| Other Ports                       | ICMP         | N/A             | N/A                                                                               | Outbound                      | Camera ping. Used to check if the camera is online/offline.                                                                       |
| Other Ports                       | WS-Discovery | UDP             | 3702                                                                              | Outbound                      | Camera discovery tool by Vega Systems Inc. Fetches ONVIF cameras in the network (used, for example, when configuring Cirrus LAN). |
