---
title: "Firewall and ports | PrimalDesk Docs"
description: "Current host, backend and discovery traffic to permit."
url: "https://docs.primaldesk.com/articles/host-firewall"
---

# Firewall and ports

Current host, backend and discovery traffic to permit.

Permit the host’s outbound control connection and UDP session traffic. The current installer creates a **program-scoped UDP rule** for `PrimalDeskHost.exe`; it does not rely on one fixed media port. Domain policy or a perimeter firewall may override the Windows rule, so verify the effective policy after installation.

| Traffic | Default requirement |
| --- | --- |
| Host and client to `api.primaldesk.com` | Outbound TCP 443 for sign-in, authorization and persistent host control |
| Client and Windows host session traffic | UDP on ports allocated for the connection; permit the signed host executable through Windows Firewall and allow the corresponding UDP flows on perimeter firewalls |
| Discovery service | Outbound UDP 3478 to the configured STUN endpoint |
| Relay, when available | Outbound UDP to the relay endpoints and ports supplied for that session; do not assume UDP 3478 carries the desktop stream |

The client and host test reachable UDP routes; address discovery can make a direct connection possible without manual forwarding. It cannot bypass a firewall, corporate policy, VPN routing or carrier-grade NAT. Allow return traffic for the outbound UDP flows on stateful firewalls.

Do not forward the old fixed media-port values as a general installation step: the current connection stack does not bind its session traffic to that setting. A local firewall exception does not configure your router. Networks that block UDP may prevent both direct and current relay connections. Do not open TCP 3389 to the internet for PrimalDesk; Windows Remote Desktop Services can be used locally by the host without a public RDP port.

This guide describes the current development and testing phase.

[Back to documentation](https://docs.primaldesk.com/docs.md)

## Explore PrimalDesk

- [PrimalDesk Docs: all pages](https://docs.primaldesk.com/llms.txt)
- [PrimalDesk: all pages](https://primaldesk.com/llms.txt)
- [Product overview](https://primaldesk.com/index.md)
- [Documentation](https://docs.primaldesk.com/docs.md)
- [Help center](https://docs.primaldesk.com/help-center.md)

## Other pages on this site

- [PrimalDesk Docs | Multi-user Windows remote desktop](https://docs.primaldesk.com/index.md)
- [Adaptive video bitrate | PrimalDesk Docs](https://docs.primaldesk.com/articles/adaptive-video-bitrate.md)
- [Connection overview | PrimalDesk Docs](https://docs.primaldesk.com/articles/connection-overview.md)
- [Desktop or Apps: which mode should I choose? | PrimalDesk Docs](https://docs.primaldesk.com/articles/desktop-vs-apps.md)
- [Make your first connection | PrimalDesk Docs](https://docs.primaldesk.com/articles/first-connection.md)
- [GDPR and data requests | PrimalDesk Docs](https://docs.primaldesk.com/articles/gdpr.md)
- [Windows compatibility | PrimalDesk Docs](https://docs.primaldesk.com/articles/host-compatibility.md)
- [Firewall and ports | PrimalDesk Docs](https://docs.primaldesk.com/articles/host-firewall.md)
- [Technical requirements | PrimalDesk Docs](https://docs.primaldesk.com/articles/host-requirements.md)
- [Install and manage a Windows host | PrimalDesk Docs](https://docs.primaldesk.com/articles/install-and-manage-host.md)
- [Mouse and keyboard controls | PrimalDesk Docs](https://docs.primaldesk.com/articles/mouse-keyboard.md)
- [Work with multiple monitors | PrimalDesk Docs](https://docs.primaldesk.com/articles/multiple-monitors.md)
- [Connect across different networks | PrimalDesk Docs](https://docs.primaldesk.com/articles/nat-traversal.md)
- [Network quality and frame rate | PrimalDesk Docs](https://docs.primaldesk.com/articles/network-quality.md)
- [RDS role and licensing | PrimalDesk Docs](https://docs.primaldesk.com/articles/rds-licensing.md)
- [Fullscreen | PrimalDesk Docs](https://docs.primaldesk.com/articles/remote-apps-fullscreen.md)
- [Integration | PrimalDesk Docs](https://docs.primaldesk.com/articles/remote-apps-integration.md)
- [Overview | PrimalDesk Docs](https://docs.primaldesk.com/articles/remote-apps-overview.md)
- [Apps publishing | PrimalDesk Docs](https://docs.primaldesk.com/articles/remote-apps-publishing.md)
- [Rendering | PrimalDesk Docs](https://docs.primaldesk.com/articles/remote-apps-rendering.md)
- [Apps restrictions | PrimalDesk Docs](https://docs.primaldesk.com/articles/remote-apps-restrictions.md)
- [Session types | PrimalDesk Docs](https://docs.primaldesk.com/articles/remote-apps-session-types.md)
- [Version support | PrimalDesk Docs](https://docs.primaldesk.com/articles/remote-apps-version-support.md)
- [Audio | PrimalDesk Docs](https://docs.primaldesk.com/articles/session-audio.md)
- [Clipboard | PrimalDesk Docs](https://docs.primaldesk.com/articles/session-clipboard.md)
- [Input | PrimalDesk Docs](https://docs.primaldesk.com/articles/session-input.md)
- [Third-party notices | PrimalDesk Docs](https://docs.primaldesk.com/articles/third-party-notices.md)
- [Connection security | PrimalDesk Docs](https://docs.primaldesk.com/articles/transport-security.md)
- [TURN relay | PrimalDesk Docs](https://docs.primaldesk.com/articles/turn-relay.md)
- [Why does video quality change? | PrimalDesk Docs](https://docs.primaldesk.com/articles/video-quality-changes.md)
- [Windows sessions | PrimalDesk Docs](https://docs.primaldesk.com/articles/windows-sessions.md)
- [Workspace: connect from your browser | PrimalDesk Docs](https://docs.primaldesk.com/articles/workspace.md)
- [Windows host setup and network documentation | PrimalDesk](https://docs.primaldesk.com/docs.md)
- [Remote desktop help center | PrimalDesk](https://docs.primaldesk.com/help-center.md)
