> For the complete documentation index, see [llms.txt](https://kb.mago.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.mago.io/mago/requirements/network/ports-and-services.md).

# 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](/mago/requirements/presentation/wireless-screen-sharing/mago-link.md)

### Miracast

See [Miracast](/mago/requirements/presentation/wireless-screen-sharing/miracast.md)

### AirPlay

See [AirPlay](/mago/requirements/presentation/wireless-screen-sharing/airplay.md)

### Google Cast

See [Google Cast](/mago/requirements/presentation/wireless-screen-sharing/google-cast.md)

## 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](/mago-mobile-apps/proximity-connection.md)

<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>
