Ports used by the system
The XProtect VMS consists of server and client components that communicate over the network. This topic lists the ports required for each component and communication relationship.
You can look up ports in two ways:
By communication relationship — to see which ports are required between two parts of the system, for example between the management server and recording servers. This is the recommended approach when configuring a firewall.
By component — to see all ports used by a specific service. If you are used to looking up ports this way, expand the View by component section below.
Ports marked as local only do not require firewall rules.
Note
When certificates are installed, most HTTP communication switches to HTTPS, and TCP connections are secured with TLS. The port number does not change unless explicitly stated. Port 80 on the Management Server is a permanent exception — when certificates are installed, it provides access to well-known URLs only and remains open regardless of security mode. It is strongly recommended to restrict access to this port to internal management subnets only.
For CAPSS environments, Milestone recommends using HTTPS/TLS with certificates for all supported components and devices.
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
80 | Both | HTTP | HTTP (permanent exception) | Always exposed on port 80 regardless of security mode. When certificates are installed, this port provides access to well-known URLs only. CautionIt is strongly recommended to restrict access to port 80 to internal management subnets only. |
443 | Both | — | HTTPS | Web service when communication is secured with certificates. |
9000 | Inbound to Management Server | HTTP | HTTPS | Recording Server services. Web service for server-to-server communication. |
9001, 9002, 9003… | Inbound to Recording Server | HTTP | HTTPS | Management server. Web service for server-to-server communication. Each additional Recording Server instance requires the next available port. |
11000 | Both | TCP | TCP (TLS) | Polling the state of recording servers. |
These clients initiate outbound connections only to the following ports directly. All additional ports required by enabled server components and functionality are communicated to the client by the management server at login.
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
80 | Outbound | HTTP | — | To and Management Server service. Authentication and access to APIs. |
443 | Outbound | — | HTTPS | To and Management Server service. Authentication and access to APIs. |
7563 | Outbound | TCP | TCP (TLS) | To Recording Server. Retrieving video, audio, and metadata streams, PTZ commands. |
12345 | Outbound | TCP | TCP (TLS) | To Management Server service. Communication between the system and Matrix recipients. You can change the port number in the Management Client. |
22331 | Outbound | TCP | TCP (TLS) | To Event Server service. Configuration, events, alarms, and map data. |
22332 | Outbound | WS | WSS | To Event Server service via Event/State Subscription, Events REST API, WebSockets Messaging API, and Alarms REST API. NoteA 403 error will be returned when accessing HTTP to access an HTTPS-only endpoint. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
8081 | Outbound | HTTP | — | To XProtect Mobile server. Retrieving video and audio streams. |
8082 | Outbound | — | HTTPS | To XProtect Mobile server. Retrieving video and audio streams. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
80 | Outbound | HTTP | — | To XProtect Incident Manager via IIS. |
443 | Outbound | — | HTTPS | To XProtect Incident Manager via IIS. |
The Recording Server establishes outbound connections to cameras, NVRs, encoders, and other connected devices on the following ports. The port numbers listed are defaults — the actual port depends on the device configuration and may differ.
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
80 | Outbound | HTTP | — | Cameras, NVRs, encoders, interconnected sites, and other connected devices. Authentication, configuration, data streams, video, and audio. |
443 | Outbound | — | HTTPS | Cameras, NVRs, encoders, and other connected devices. Authentication, configuration, data streams, video, and audio. |
554 | Outbound | ? | ? | Cameras, NVRs, encoders, and other connected devices. Data streams, video, audio, and other data. |
7563 | Outbound | TCP | TCP (TLS) | Interconnected sites. Data streams and events. |
40001–40099 | Outbound | HTTP | HTTPS | Mobile Server service. Video Push. This port range is disabled by default. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
5210 | Both | TCP | TCP (TLS) | Transfers recordings from a failover recording server back to the original recording server after it comes back online. Also required to access archived video that was recorded before a camera was moved to a different recording server. CautionIf this port is closed, that archived video will be inaccessible. |
7563 | Inbound to Failover Recording Server | TCP | TCP (TLS) | XProtect Smart Client. Retrieving video, audio, and metadata streams, PTZ commands. |
8844 | Both | UDP | UDP | Communication between Failover Recording Server services within a failover group. |
8990 | Inbound to Failover Server | HTTP | HTTPS | Management Server service. Monitoring the status of the Failover Server service. |
9001 | Inbound to Failover Server | HTTP | HTTPS | Management server. Web service for server-to-server communication. |
11000 | ?? | TCP | TCP (TLS) | Polling the state of recording servers between regular and failover servers. |
8966 | Inbound (local only) | TCP | TCP | Failover Recording Server Manager tray icon. Showing status and managing the service. |
8967 | Inbound (local only) | TCP | TCP | Failover Server Manager tray icon. Showing status and managing the service. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
7609 | All servers | HTTP | HTTPS | Data Collector service on IIS. Collects and provides data for System Monitor. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
80 | Outbound from Event Server | HTTP | — | and the Management Server. Access the Configuration API. |
443 | Outbound from Event Server | — | HTTPS | and the Management Server. Access the Configuration API. Also sends status, events, and error messages to Milestone Customer Dashboard via https://service.milestonesys.com/. |
1233 | Inbound to Event Server | TCP | TCP | Listening for generic events from external systems or devices. Only if the relevant data source is enabled. Generic events are always unencrypted. |
1234 | Inbound to Event Server | TCP/UDP | TCP/UDP | Listening for generic events from external systems or devices. Only if the relevant data source is enabled. Generic events are always unencrypted. |
1433 | Outbound from Event Server | TCP | TCP | SQL Server |
9090 | Inbound to Event Server | TCP | TCP (TLS) | Listening for analytics events from external systems or devices. Only relevant if the Analytics Events feature is enabled. |
22331 | Inbound to Event Server | TCP | TCP (TLS) | XProtect Smart Client and the Management Client. Configuration, events, alarms, and map data. |
22332 | Inbound to Event Server | WS | WSS | and the Management Client. Event/State Subscription, Events REST API, WebSockets Messaging API, and Alarms REST API. |
22333 | Inbound to Event Server | TCP | TCP (TLS) | MIP plug-ins and applications. MIP messaging. NoteMIP SDK plugins may dynamically require additional ports depending on the specific integration architecture. Refer to individual plugin documentation for details. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
443 | Outbound from API Gateway | — | HTTPS | Management Server. RESTful API. |
22332 | Outbound from API Gateway | WS | WSS | Management Client. Event/State Subscription, Events REST API, WebSockets Messaging API, and Alarms REST API. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
554 | Inbound | RTSP | RTSP | ONVIF clients. Streaming of requested video. |
580 | Inbound | TCP | TCP (TLS) | ONVIF clients. Authentication and requests for video stream configuration. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
22334 | Inbound to LPR Server | TCP | TCP (TLS) | Event server. Retrieving recognized license plates and server status. The Event server must have the LPR plug-in installed. |
Note
Do not use these ports for other purposes even if your system does not apply SNMP.
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
7474 | Inbound to Failover Recording Server | TCP | TCP | Windows SNMP service. Communication with the SNMP extension agent on the Failover Recording Server service. |
12974 | Inbound to Management Server | TCP | TCP | Windows SNMP service. Communication with the SNMP extension agent on the Management Server service. |
12975 | Inbound to Recording Server | TCP | TCP | Windows SNMP service. Communication with the SNMP extension agent on the Recording Server service. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
40001–40099 | Both | HTTP | HTTPS | Mobile Server service and Recording server service. Video Push. This port range is disabled by default. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
443 | Outbound from Management Server | HTTPS | HTTPS | Milestone license server. Required for online license activation only. |
Each section below covers all ports used by a specific service, giving you a complete picture of that component's network requirements.
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
80 | Inbound | HTTP | HTTP (permanent exception) | All servers and the XProtect Smart Client and the Management Client. Always exposed on port 80 regardless of security mode. When certificates are installed, this port provides access to well-known URLs only. CautionIt is strongly recommended to restrict access to port 80 to internal management subnets only. |
443 | Inbound | — | HTTPS | All servers and the XProtect Smart Client and the Management Client. Used when communication is secured with certificates. |
445 | Inbound | TCP | TCP | Management Server Manager. Enable Windows Active Directory users to be added to roles. |
1433 | Outbound | TCP | TCP | SQL Server. |
443 | Outbound | HTTPS | HTTPS | Milestone license server. Required for online license activation. |
7609 | All servers | HTTP | HTTPS | Data Collector service on IIS. Collects and provides data for System Monitor. |
9000 | Inbound | HTTP | HTTPS | Recording Server services. Web service for server-to-server communication. |
12345 | Inbound | TCP | TCP (TLS) | XProtect Smart Client. Communication between the system and Matrix recipients. You can change the port number in the Management Client. |
12974 | Inbound | TCP | TCP | Windows SNMP service. Communication with the SNMP extension agent. Do not use this port for other purposes even if your system does not apply SNMP. |
6473 | Inbound (local only) | TCP | TCP | Management Server Manager tray icon. Showing status and managing the service. |
8080 | Inbound (local only) | TCP | TCP | Communication between internal processes on the server. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
80 | Outbound | HTTP | — | Cameras, NVRs, encoders, interconnected sites, and other connected devices. Authentication, configuration, data streams, video, and audio. |
443 | Outbound | — | HTTPS | Cameras, NVRs, encoders, and other connected devices. Authentication, configuration, data streams, video, and audio. |
554 | Outbound | ?? | ?? | Cameras, NVRs, encoders, and other connected devices. Data streams, video, audio, and other data. |
5210 | Inbound | TCP | TCP (TLS) | Failover recording servers. Transfers recordings from a failover recording server back to the original recording server after it comes back online. Also required to access archived video recorded before a camera was moved to a different recording server. CautionIf this port is closed, that archived video will be inaccessible. |
7563 | Inbound | TCP | TCP (TLS) | XProtect Smart Client, Management Client. Retrieving video, audio, and metadata streams, PTZ commands. |
7563 | Outbound | TCP | TCP (TLS) | Interconnected sites. Data streams and events. |
9001, 9002, 9003… | Inbound | HTTP | HTTPS | Management server. Web service for server-to-server communication. Each additional Recording Server instance requires the next available port. |
11000 | Inbound | TCP | TCP (TLS) | Failover recording servers. Polling the state of recording servers. |
12975 | Inbound | TCP | TCP | Windows SNMP service. Communication with the SNMP extension agent. Do not use this port for other purposes even if your system does not apply SNMP. |
40001–40099 | Outbound | HTTP | HTTPS | Mobile Server service. Video Push. This port range is disabled by default. |
8966 | Inbound (local only) | TCP | TCP | Recording Server Manager tray icon. Showing status and managing the service. |
65101 | Inbound (local only) | UDP | UDP | Listening for event notifications from the drivers. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
80 | Outbound | HTTP | — | and the Management Server. Access the Configuration API. |
443 | Outbound | — | HTTPS | and the Management Server. Access the Configuration API. Also sends status, events, and error messages to Milestone Customer Dashboard via https://service.milestonesys.com/. |
1233 | Inbound | TCP | TCP | Generic events from external systems or devices. Only if the relevant data source is enabled. Generic events are always unencrypted. |
1234 | Inbound | TCP/UDP | TCP/UDP | Generic events from external systems or devices. Only if the relevant data source is enabled. Generic events are always unencrypted. |
1433 | Outbound | TCP | TCP | SQL Server. |
9090 | Inbound | TCP | TCP (TLS) | Analytics events from external systems or devices. Only relevant if the Analytics Events feature is enabled. |
22331 | Inbound | TCP | TCP (TLS) | XProtect Smart Client and the Management Client. Configuration, events, alarms, and map data. |
22332 | Inbound | WS | WSS | and the Management Client. Event/State Subscription, Events REST API, WebSockets Messaging API, and Alarms REST API. |
22333 | Inbound | TCP | TCP (TLS) | MIP plug-ins and applications. MIP messaging. NoteMIP SDK plugins may dynamically require additional ports depending on the specific integration architecture. Refer to individual plugin documentation for details. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
8000 | Inbound (local only) | TCP | TCP | Mobile Server Manager tray icon. Status and service management. |
8081 | Inbound | HTTP | — | Mobile clients, Web clients, and Management Client. Sending data streams; video and audio. |
8082 | Inbound | — | HTTPS | Mobile clients and Web clients. Sending data streams; video and audio. |
40001–40099 | Inbound | HTTP | HTTPS | Recording server service. Video Push. This port range is disabled by default. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
5210 | Inbound | TCP | TCP (TLS) | Failover recording servers. Transfers recordings from a failover recording server back to the original recording server after it comes back online. Also required to access archived video recorded before a camera was moved to a different recording server. CautionIf this port is closed, that archived video will be inaccessible. |
7474 | Inbound | TCP | TCP | Windows SNMP service. Communication with the SNMP extension agent. Do not use this port for other purposes even if your system does not apply SNMP. |
7563 | Inbound | TCP | TCP (TLS) | XProtect Smart Client. Retrieving video, audio, and metadata streams, PTZ commands. |
8844 | Inbound | UDP | UDP | Communication between failover recording server services. |
8966 | Inbound (local only) | TCP | TCP | Failover Recording Server Manager tray icon. Showing status and managing the service. |
8967 | Inbound (local only) | TCP | TCP | Failover Server Manager tray icon. Showing status and managing the service. |
8990 | Inbound | HTTP | HTTPS | Management Server service. Monitoring the status of the Failover Server service. |
9001 | Inbound | HTTP | HTTPS | Management server. Web service for server-to-server communication. |
11000 | Outbound | TCP | TCP (TLS) | Failover recording servers. Polling the state of recording servers. |
Port | Direction | Protocol (without certificates) | Protocol (with certificates) | Purpose |
|---|---|---|---|---|
80 | Inbound | HTTP | — | IIS. XProtect Smart Client and the Management Client. Used when communication is not secured with certificates. |
443 | Inbound | — | HTTPS | IIS. XProtect Smart Client and the Management Client. Used when communication is secured with certificates. |