kodi – network ports

kodi-helix-14.1-600x336

If you use XBMC or now Kodi, those are the ports that should be open for full network access:
tcp 8080 – web interface, can be changed,
udp 1900 – dlna,
other ports:
tcp: 1084, 1308, 1131,
tcp (ipv6): 9090 (optional if you use ipv6 connections),
udp: 9777, 12374.
Those are ports that I opened and can be seen with console command:
netstat -ntulp
If you use iptables those are commands:

iptables -A TCP -p tcp --match multiport --dports 1084,1131,1308,8080 -m comment --comment "kodi" -j ACCEPT
iptables -A UDP -p udp --match multiport --dports 1900,9777,12374 -m comment --comment "kodi" -j ACCEPT
iptables-save > /etc/iptables/iptables.rules
systemctl reload iptables

…as root.
Happy hacking…

3 responses to “kodi – network ports

  1. Tried opening all those ports as suggested in Linux mint using ufw. Kodi can only access upnp devices (dlna) when firewall is turned off. I checked which ports are open while the firewall was off and the port numbers seem to change each time (except for udp 9777, 1900, and tcp 9090). Would you know if this is a bug? Am I missing something?

    Thanks!

Leave a comment