Port 8009: Google Cast / AJP

Port 8009 is the Google Cast control channel on Chromecasts, and also Apache Tomcat's AJP connector.

At a glance
Port
8009 / TCP
Service
Google Cast / AJP
Also called
castv2, ajp13
If exposed
High risk if exposed

What runs on port 8009

Cast senders, such as the YouTube or Netflix app on your phone, connect to Cast devices on TCP 8009 over TLS to start and control playback. Separately, Apache Tomcat has long used 8009 for AJP, a protocol for connecting a front-end web server to Tomcat; the 2020 Ghostcat flaw showed how dangerous an exposed AJP port can be.

On a home network

Chromecasts, Nest speakers and displays, and TVs with Chromecast built in listen on 8009. Tomcat on a home server might too.

If port 8009 is reachable from the internet

Cast devices exposed to the internet can be controlled by strangers, as happened in the 2019 Chromecast hijacking campaign. An exposed Tomcat AJP port can leak files from the web application. Neither should be reachable from outside.

How to check whether it is open on your network

Look for 8009 in your router's UPnP table and port forwarding list. A LAN port scan shows which devices are Cast receivers.

Devices that open port 8009

Hui Zhou Gaoshengda (GSD)Google Cast on Google TV sets using a Gaoshengda Wi-Fi moduleGoogleCast control channel phones use to send playback commandsXiaomiCast control channel on Mi Box and Mi TV Stick

Related ports

All portsPort lookupSubnet calculator

Other tools

IPv4 · IPv6 · CIDR
Subnet calculator
Network, broadcast, host range and wildcard for any CIDR, IPv4 or IPv6. Turns an IP range into the CIDR blocks that cover it.
OUI · MA-L · MA-M · MA-S
MAC vendor lookup
Which company made the device behind a hardware address, from the IEEE registry. Spots randomised private addresses too.
X.509 · PKCS#10 · PEM · DER
Certificate and CSR decoder
Subject, issuer, validity, key, SANs, key usage and fingerprints from a certificate or signing request. Parsed in your browser.
VPN · resolver · privacy
DNS leak test
Which DNS servers actually answer your lookups on this connection, who owns them, and whether your VPN or private DNS is really being used.
Cloudflare · Google · Quad9 · 8 resolvers
DNS benchmark
Times eight public resolvers from where you are, over DNS-over-HTTPS, and ranks them by median response.
TCP · UDP · what is this port
Port lookup
What a port number is used for, which home devices open it, and whether it matters that it is reachable.
Certificate Transparency · CT logs
Subdomain finder
Every subdomain on a currently valid TLS certificate, from the public Certificate Transparency logs, with the ones worth a second look flagged.
IP to ASN · BGP · IP ranges
ASN lookup
Which network routes an IP address, who holds an AS number, and every IPv4 and IPv6 range it announces. Live BGP data from RIPEstat.
HTTP archive
HAR analyzer
Open a HAR file and see what a page really loaded: third parties, slowest requests, insecure cookies, servers that leak versions.
IIS · nginx · Apache · access logs
Log analyzer
Check IIS, nginx and Apache access logs for signs of exploitation, with a verdict per CVE and every finding traced to its line. Read in your browser, never uploaded.
Public IP · fingerprint
What is my IP
Your public address and everything else your browser hands to every site you visit, without asking.