Note: This article is discussing ports in the local firewall of the computer running Plex Media Server. This is not discussing ports on a router.
The most important port to make sure your firewall allows is the main TCP port the Plex Media Server uses for communication:
- TCP: 32400 (access to the Plex Media Server) [required]
The following additional ports are also used within the local network for different services:
- UDP: 1900 (access to the Plex DLNA Server)
- UDP: 5353 (older Bonjour/Avahi network discovery)
- TCP: 8324 (controlling Plex for Roku via Plex Companion)
- UDP: 32410, 32412, 32413, 32414 (current GDM network discovery)
- TCP: 32469 (access to the Plex DLNA Server)
Warning!: For security, we very strongly recommend that you do not allow any of these “additional” ports through the firewall or to be forwarded in your router, in cases specifically where your Plex Media Server is running on a machine with a public/WAN IP address. This includes those hosted in a data center as well as machines on a “local network” that have been put into the “DMZ” (the “de-militarized zone”) of the network router. This is not a setup that applies to most users.