I use gupnp-av-cp application to play, pause, volume up/down, stop in short to control media buttons on TV which is connected to local area network. But When I enable ufw firewall then it fails to reach TV.
I added a rule to /etc/ufw/applications.d/gupnp-av-cp
[gupnp-av-cp]
title=Media Controller
description=Local Area Media
ports=80,60999/tcp
reloaded ufw
sudo ufw reload
but it doesn't work properly.
I don't know which port ranges to allow