12

I have a minidlna server running in my home and everything worked fine when i updated to ubuntu 16.04 my vlc stopped finding my server. I ran VLC via terminal and got this error when clicking on the UPnP tab. :

[00007fdb784db098] upnp services discovery: Initializing libupnp on '(null)' interface
[00007fdb784db098] upnp services discovery error: Initialization failed: UPNP_E_SOCKET_BIND
[00007fdb784db098] core services discovery error: no suitable services discovery module

Does someone have any idea how to fix this?

My TV and phone can still find my server.

3 Answers3

15

Disabling ipv6 worked for me.

Solution from here :

echo 1 | sudo tee /proc/sys/net/ipv6/conf/all/disable_ipv6
David Foerster
  • 36,890
  • 56
  • 97
  • 151
Gery
  • 276
8

I found the answer.

You can download a new version of libupnp here

And install it :

cd Downloads
sudo dpkg -i libupnp6_1.6.19+git20160116-1_amd64.deb
0

In my case firewalld was blocking the traffic on the port 1900 tcp/upd. I enabled it and it worked:

firewall-cmd --permanent --zone=public --add-port=1900/tcp
firewall-cmd --permanent --zone=public --add-port=1900/udp
firewall-cmd --reload
firewall-cmd --permanent --zone=home --add-port=1900/tcp
firewall-cmd --permanent --zone=home --add-port=1900/udp
firewall-cmd --reload

Adapt the code to your zone.

Reference: http://www.vassox.com/infrastructure/networking/opening-a-port-with-firewalld/

Zioalex
  • 161
  • 5