Which ports are used by AirServer and how can I override them?

Last Updated: Jan 28, 2019 04:00PM UTC

Port Used by Behaviour Changed by editing parameter (only AirServer Universal)
TCP 5000 AirPlay RAOP Will use a dynamic port if unavailable AirPlayAudioTCPPort
TCP 5001 AirPlay RAOP events Will use a dynamic port if unavailable AirPlayAudioEventTCPPort
TCP 7000 AirPlay media Will use a dynamic port if unavailable AirPlayVideoTCPPort
TCP 7100 AirPlay legacy mirroring Fixed port - cannot be changed
Only needed to support iOS 6 and older devices
TCP 49152 AirPlay mirroring Will use a dynamic port if unavailable AirPlayDynamicMirroringTCPPort
UDP 6010-6012 AirPlay audio Will use AirPlayAudioUDPPort,
AirPlayAudioUDPPort+1 and
UDP 51563 Miracast Will use a dynamic port if unavailable
(configured on local firewall only)
TCP 80, 443, 8008, 8009 Google Cast   N/A
UDP 53, 123, 1900 Google Cast   N/A
UDP 5353 Apple Bonjour   N/A

Some of these ports can be overridden for our AirServer Universal application by editing the Windows registry. Unfortunately it is not possible to edit these for our AirServer for Mac application.


On Windows, use AirServerConsole.exe in an elevated command prompt to configure the ports:

AirServerConsole.exe set AirPlayVideoTCPPort 7000
AirServerConsole.exe set AirPlayAudioTCPPort 5000
AirServerConsole.exe set AirPlayAudioUDPPort 6010
AirServerConsole.exe set AirPlayDynamicMirroringTCPPort 0
AirServerConsole.exe set AirPlayAudioEventTCPPort 5001

To get a complete list of configurable properties, run:

  AirServerConsole.exe /?

These ports can also be set using installer properties: