# Ports and services

Please note that all required network ports for Mago must be **allowed at the VLAN infrastructure level**, not just on individual client devices. This ensures proper communication between Mago and user devices across the network. Make sure your network switches, firewalls, and access points are configured to permit the necessary traffic within and across VLANs.

## Generic ports

<table><thead><tr><th width="99.5625">Port</th><th width="122.33203125">Type</th><th width="142.59765625">Direction</th><th>Service</th></tr></thead><tbody><tr><td>80</td><td>TCP</td><td>Outbound</td><td>HTTP</td></tr><tr><td>443</td><td>TCP</td><td>Outbound</td><td>HTTPS</td></tr><tr><td>53</td><td>TCP/UDP</td><td>Outbound</td><td>DNS (internal or external)</td></tr><tr><td>123</td><td>UDP</td><td>Outbound</td><td>NTP (internal or external)</td></tr></tbody></table>

## Screen sharing protocols

### Mago Link

See [mago-link](https://kb.mago.io/mago/requirements/presentation/wireless-screen-sharing/mago-link "mention")

### Miracast

See [miracast](https://kb.mago.io/mago/requirements/presentation/wireless-screen-sharing/miracast "mention")

### AirPlay

See [airplay](https://kb.mago.io/mago/requirements/presentation/wireless-screen-sharing/airplay "mention")

### Google Cast

See [google-cast](https://kb.mago.io/mago/requirements/presentation/wireless-screen-sharing/google-cast "mention")

## Local discovery service of Mago devices (optional)

To use the local discovery service, enable the following ports on the Mago device and network.

Discover more about the discovery service for Mago mobile apps here: [proximity-connection](https://kb.mago.io/mago-mobile-apps/proximity-connection "mention")

<table><thead><tr><th width="99.2890625">Port</th><th width="102.0859375">Type</th><th width="164.1953125">Direction</th><th>Service</th></tr></thead><tbody><tr><td>8034</td><td>TCP</td><td>Both</td><td>Local Discovery Service</td></tr><tr><td>8035</td><td>UDP</td><td>Both</td><td>Local Discovery Service</td></tr></tbody></table>
