Skip to content
Thaumic Cast

Firewall and ports

Thaumic Cast needs one thing let in: incoming TCP on port 49400, from your own network. The desktop app listens on 49400, or on the first free port up to 49410 if that one is taken, so a firewall rule for 49400 to 49410/tcp covers it. Everything else it does is either outgoing or the usual chatter of finding speakers on a home network.

Thaumic Cast does not push audio at a speaker. The app gives each speaker an address on this computer, and the speaker fetches the audio from it over HTTP. So the speakers have to be able to reach this computer, and a firewall that turns them away gets you silence: the speakers are found, a cast starts, and nothing plays.

What Port and protocol Direction Why
The app’s address 49400/tcp (up to 49410) In, from your network The speakers fetch the audio here and send their event updates here. The extension connects here too.
Finding speakers: SSDP 1900/udp, multicast to 239.255.255.250 Out, replies back The app asks the network which Sonos speakers are in.
Finding speakers: mDNS _sonos._tcp.local Out, replies back A second way of asking, which also works where mDNS is passed between subnets.
Talking to speakers 1400/tcp on each speaker Out Sonos speakers take their instructions (play, volume, grouping) on this port.

Thaumic Cast Server uses the same ports. Its HTTP port is 49400 unless you set another with --port or THAUMIC_BIND_PORT.

The first time the app runs, Windows asks whether it may use the network. Allow Private networks. The first-run tour warns you it is coming.

If you said no, or clicked away, allow Thaumic Cast in Windows Security, under Firewall & network protection, Allow an app through firewall, for private networks. A third-party firewall needs the same: incoming 49400 to 49410/tcp from your network.

A VPN can send the app’s traffic somewhere your speakers cannot follow. The desktop app then says “The speakers were found, but nothing is getting back from them” or “No speaker can be reached on this network”. Pause the VPN, then select Ask again in Rooms. More in Speakers found, but no sound.

The least trouble is the same network as the speakers. A different subnet works too, provided traffic is routed both ways and one of these holds:

  • your router or access points pass mDNS between the subnets (an Avahi reflector, UniFi’s mDNS setting and the like), so the app can still find the speakers, or
  • you add the speakers by IP address: Enter an IP address instead in the first-run tour, or Add a speaker by IP address in Settings.

See No speakers found, and check that UPnP is on in the Sonos app: UPnP is off in the Sonos app.