Solved Which ports need to be opened for Gerbera ?

Solved issue


New Member
Jul 17, 2023
Reaction score

I am using "Suse_Tumbleweed" and Gerbera - Media-Server.
Which ports need to be opened for Gerbera server to be recognized.
I found this that I don't understand.
If I disable the firewall, the Gerbera server is detected.
Under Linux-Mint I had to release the following ports and then the server was recognized.

sudo ufw allow 1900/udp
sudo ufw allow 49152/tcp
sudo ufw allow 49152/udp

Under Suse this is not enough.


i don't use gerbera or suse, but it looks like port 49152 may not be absolute. from here:
-p, --port Specify the server port that will be used for the web user interface, for serving media and for UPnP requests, minimum allowed value is 49152. If this option is omitted a default port will be chosen, however, in this case it is possible that the port will change upon server restart.
and here:
You should also make sure that your firewall is not blocking port UDP port 1900 (required for SSDP) and UDP/TCP port of Gerbera. By default Gerbera will select a free port starting with 49152, however you can specify a port of your choice in the configuration file.
so it sounds like it might be helpful to specify a port in the config file and see if that works any better.
have you tried enabling or have you already enabled logging in the firewall to see what exactly is getting blocked?
The port opening settings were lost after each reboot.
Now I have set it correctly.
Now it works.

Thank you very much

Staff online