What ports does Plex Media Server setup require?

I am running Plex Media Server in a FreeBSD jail (container). I recently setup a firewall (pf) such that all incoming traffic is blocked except:

tcp 32400
tcp 32401

However, I noticed that when attempting to add a library, it would not work, so I tried reinstalling plex altogether, and it still would not work. Long story short, I disabled my firewall altogether and was able to reinstall plex and again add other libraries to my collection.

So, my question is, what other ports should I open to allow Plex Media Server to scan and import media on my local machine? So far, for me, this looks something like:

tcp 22360
tcp 22326
tcp 22333
tcp 22327
tcp 22455
tcp 22487
tcp 22488
tcp 22533
tcp 22565
tcp 22589

tcp 32600
udp :
tcp 36877
tcp *:32400
tcp 32401

https://support.plex.tv/articles/201543147-what-network-ports-do-i-need-to-allow-through-my-firewall/

Yes, I came across that, but that seems incomplete. That seems accurate once the server is setup and running. I will re-run setup and do a tcpdump on my pflog interfaces to see what specific ports are needed.

I’m curious about some of the ports you have listed, in particular 32401 and 32600. As far as I know, Plex only listens on those on the localhost interface. Are you applying pf rules to your localhost (127.0.0.x) interface(s) as as well? Those are used for inter-process communication by Plex and likely other services/programs on your system.

Yes, I am applying those rules on localhost so I know exactly what is going where or at least that is the idea.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.