UniFi Video - Ports Used

Overview


This article lists the ports used for the UniFi Video line, in the different scenarios possible.

 

Table of Contents


  1. Between Camera and NVR
  2. Between Client and NVR
  3. Via the Mobile Apps
    1. For a Secure Connection
    2. For an Insecure Connection
  4. Custom Ports

  

Between Camera & NVR


Back to Top

These are the ports used if your cameras and Network Video Recorder (NVR) are on a different subnet or separated by the internet:

Port

Type (TCP/UDP)

Purpose

22

TCP

SSH (NVR Side)

6666

TCP

Inbound Camera Streams (NVR Side)

7004

UDP

UVC-Micro Talkback (Camera Side)

7080

TCP

HTTP Web UI & API (NVR Side)

7443

TCP

HTTPS Web UI & API (NVR Side)

NVR Side = Port must be made available externally to the NVR

Camera Side = Port must be made available externally to the Camera

 

Between Client & NVR


Back to Top

These are the ports used between the client and NVR if you're attempting to view streams and/or recordings from a separate subnet or over the internet:

Port

Type (TCP/UDP)

Purpose

7080

TCP

HTTP Web UI & API

7443

TCP

HTTPS Web UI & API

7445

TCP

Video over HTTP

7446

TCP

Video over HTTPS

7447

TCP

RTSP via the controller



Via the Mobile Apps


Back to Top

One of the following combinations of ports would be used in order to access UniFi-Video via the mobile apps:

 

For a Secure Connection 

Port

Type (TCP/UDP)

Purpose

7080

TCP

HTTP Web UI & API

7443

TCP

HTTPS Web UI & API

7446

TCP

Video over HTTPS

 

For an Insecure Connection

Port

Type (TCP/UDP)

Purpose

7080

TCP

HTTP Web UI & API

7445

TCP

Video over HTTP

Custom Ports


  1. To change port values, locate system.properties in the following directory:
    • Windows: C:\ProgramData\unifi-video\data
    • Linux: /usr/lib/unifi-video/data
  2. Open system.properties with a text editor.
  3. Uncomment the desired keys by deleting the number sign (#), then change the port number.
    # unifi-video v3.2.2
    app.controller.id=...
    app.controller.mode=master
    app.systemName=myNVR
    is_default=false
    timezone=America/Chicago
    uuid=...
    # app.http.port = 7080
    # app.https.port = 7443
    # ems.liveflv.port = 6666
    # ems.rtmp.port = 1935
    # ems.rtsp.port = 7447
  4. Save and close system.properties.
  5. Restart the UniFi Video service.
    • Windows: via System Tray/Notification Area icon
    • Linux:
      sudo /etc/init.d/unifi-video restart
Powered by Zendesk