# MDM Network Ports

> The CapaInstaller services and network ports a working Mobile Device Management setup needs.

Source: https://docs.capaone.com/capainstaller/installation-and-maintenance/getting-started-with-device-management/mobile-device-management-implementation-plan/mdm-network-ports/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

# Overview

<font style="color: #374151;">To have a fully functional Mobile Device Management system, it is necessary to have a properly deployed set of CapaInstaller services within the company's network infrastructure.</font>

# Services

| *Service*           | *Port Number*   | *Data Type*   | *Direction*     | *Destination DNS URL - Outgoing*                                | *Description*                                                                                                                                                                                                                                                                                          |
|:--------------------|:----------------|:--------------|:----------------|:----------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| cimdm               | 443 (SSL)       | TCP           | PUBLIC → DMZ    |                                                                 | Mobile devices retrieve configurations and applications                                                                                                                                                                                                                                                |
| cimdm               | 443 (SSL)       | TCP           | DMZ → PUBLIC    | [api.capaone.com](http://api.capaone.com)                       | Gateway for: <br/> Apple Push Network Service (APNS): <br/> <http://support.apple.com/kb/TS4264> <br/> Google Cloud Messaging**:** <br/> <http://en.wikipedia.org/wiki/Google_Cloud_Messaging> <br/> Microsoft Open Mobile Alliance (OMA): <br/> <https://en.wikipedia.org/wiki/OMA_Device_Management> |
| Self Service Portal | 9443(Default)   | TCP           | PUBLIC → DMZ    |                                                                 | Used to access the Self-Service portal from the devices                                                                                                                                                                                                                                                |
| cibackend           | 5023 (Default)  | TCP           | DMZ → SERVER    |                                                                 | cimdm get profiles and configurations                                                                                                                                                                                                                                                                  |
| cifrontend          | 5022 (Default)  | TCP           | DMZ → SERVER    |                                                                 | cimdm authenticates users when enrolling devices                                                                                                                                                                                                                                                       |
| cifrontend          | 443 (SSL)       | TCP           | SERVER → PUBLIC | [download.capainstaller.com](http://download.capainstaller.com) | Retrieve updated information about device models and versions                                                                                                                                                                                                                                          |

# Devices

For end-user devices to support mobile device management, the devices must communicate with different network services

| *Devices*            | *Port Number*          | *Data Type*   | *Direction*   | *Destination DNS URL - Outgoing*                                                                                                                                                                                                                      | *Description*                                                                                                                                                                                        |
|:---------------------|:-----------------------|:--------------|:--------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| All devices          | 443 (SSL)              | TCP           | LAN → PUBLIC  | DMZ Server                                                                                                                                                                                                                                            | <font style="color: #374151;">Used for secure communication between iOS devices and the MDM server.</font>                                                                                           |
| Android devices      | 5228 (Google server)   | TCP           | LAN → PUBLIC  | [android.apis.google.com](http://android.apis.google.com/) <br/> [gcm-http.googleapis.com](https://gcm-http.googleapis.com/gcm/send) <br/> [fcm.googleapis.com](https://fcm.googleapis.com/fcm/send)                                                  | <font style="color: #374151;">This port is used for communication between Android devices and Google Cloud Messaging (GCM), which sends push notifications and other data to Android devices.</font> |
| Android devices      | 5229 (Google server)   | TCP           | LAN → PUBLIC  | [android.apis.google.com](http://android.apis.google.com/) <br/> [gcm-http.googleapis.com](https://gcm-http.googleapis.com/gcm/send) <br/> [fcm.googleapis.com](https://fcm.googleapis.com/fcm/send)                                                  | <font style="color: #374151;">This port is used for communication between Android devices and GCM over a secure connection.</font>                                                                   |
| Android devices      | 5230 (Google server)   | TCP           | LAN → PUBLIC  | [android.apis.google.com](http://android.apis.google.com/) <br/> [gcm-http.googleapis.com](https://gcm-http.googleapis.com/gcm/send) <br/> [fcm.googleapis.com](https://fcm.googleapis.com/fcm/send)                                                  | <font style="color: #374151;">This port is used for communication between Android devices and GCM for sending and receiving multicast messages.</font>                                               |
| Android devices      | 443 (Google server)    | TCP           | LAN → PUBLIC  | [android.apis.google.com](http://android.apis.google.com/) <br/> [gcm-http.googleapis.com](https://gcm-http.googleapis.com/gcm/send) <br/> [fcm.googleapis.com](https://fcm.googleapis.com/fcm/send) <br/> [play.google.com](http://play.google.com/) | <font style="color: #374151;">This port is used for secure communication between Android devices and the MDM server.</font>                                                                          |
| Apple devices        | 2195 (Apple server)    | TCP           | LAN → PUBLIC  | [gateway.push.apple.com](http://gateway.push.apple.com/)                                                                                                                                                                                              | <font style="color: #374151;"> Used for sending push notifications to iOS devices.</font>                                                                                                            |
| Apple devices        | 2196 (Apple server)    | TCP           | LAN → PUBLIC  | [feedback.push.apple.com](http://feedback.push.apple.com/)                                                                                                                                                                                            | <font style="color: #374151;">Used by the APNs Feedback Service to send feedback to the MDM server about failed push notifications.</font>                                                           |
| Apple devices        | 5223 (Apple server)    | TCP           | LAN → PUBLIC  |                                                                                                                                                                                                                                                       | <font style="color: #374151;">Used for communication between iOS devices and APNs. It is also used for device activation.</font>                                                                     |
| Windows Phone device | 443 (Microsoft server) | TCP           | LAN → PUBLIC  |                                                                                                                                                                                                                                                       |                                                                                                                                                                                                      |
