Project

General

Profile

Remote access to tvheadend on Raspberry Pi from Kodi (17.6 or 18) not working

Added by Dorin Drimus almost 6 years ago

Hi,

I have a tvheadend setup on a Raspberry Pi 3+ with Raspbian Stretch and a Hauppauge Dual HD tuner (with mostly default settings). The channels work and I can connect to it using a Kodi Android client from the local network or using a VPN with a "tv/tv" user, password normal user. Then I have forwarded the 9981 and 9982 ports from the dynamic dns domain to the pi. However when connecting from other networks or mobile data I get stuck with "PVR Manager starting 0%" and the pi server shows:
"pi@raspberrypi:~ $ sudo netstat -pant |grep 998*
tcp 0 0 0.0.0.0:9981 0.0.0.0:* LISTEN 594/tvheadend
tcp 0 0 0.0.0.0:9982 0.0.0.0:* LISTEN 594/tvheadend
tcp 0 0 192.168.0.105:9982 213.233.108.249:30689 SYN_RECV -
tcp 0 0 192.168.0.105:9982 213.233.108.249:29977 SYN_RECV -
tcp 0 0 192.168.0.105:9982 213.233.108.249:30307 SYN_RECV -
tcp 0 0 192.168.0.105:9982 213.233.108.249:29497 SYN_RECV - "
I get the same behavior with both Kodi 17.6 and 18 and also with TVHClient.

Any help of what the problem might be or how to further troubleshoot it is appreciated.

Thanks.


Replies (1)

RE: Remote access to tvheadend on Raspberry Pi from Kodi (17.6 or 18) not working - Added by Dorin Drimus almost 6 years ago

Solved.

I actually had the openVPN client started (from some previous experiments with the pi) which routed everything trough the tun interface :D
I stopped the vpn client and now kodi connects from everywhere.

    (1-1/1)