Troubleshooting

Allow the app through the firewall

Windows or Linux firewall blocking connections? Set the network to Private and allow the app, or open ports 47820–47822.

1 min read Updated Applies to
  • Windows
  • Linux

Devices connect to each other on your network, so the receiving device must accept incoming connections. The app uses UDP 47820 (discovery), UDP 47821 (QUIC) and TCP 47822 (fallback), plus mDNS on UDP 5353.

Steps

  1. Set the network to Private (Windows)

    Open Settings › Network & internet › Wi-Fi (or Ethernet), choose your network and set Network profile type to Private. On Public networks Windows blocks incoming connections.

  2. Allow the app

    Open Windows Security › Firewall & network protection › Allow an app through firewall › Change settings. Tick Private for Personal Device Bridge (or pdb.exe for the command-line tool).

  3. Or open the ports

    In PowerShell as administrator: New-NetFirewallRule -DisplayName "Personal Device Bridge" -Direction Inbound -Protocol UDP -LocalPort 47820,47821 -Profile Private -Action Allow, and the same with -Protocol TCP -LocalPort 47822.

  4. Linux

    With ufw: sudo ufw allow 47820:47821/udp, sudo ufw allow 47822/tcp and sudo ufw allow 5353/udp. With firewalld: sudo firewall-cmd --permanent --add-port=47820-47821/udp --add-port=47822/tcp --add-service=mdns, then sudo firewall-cmd --reload.

Other security software

Third-party antivirus suites often have their own firewall. Add the same exception there. Only allow private networks, never public ones such as café Wi-Fi.