Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


MPD: Failed to bind socket: Address already in use
#3
(01-18-2020, 01:08 PM)mohel Wrote: Hello,

I installed moode on a raspberry Z W as described in the setup guide and everything works fine. Only access to mpd server over some clients did not work. I found you, that some clients resolve the hostname to an IPV6 adress of the raspberry. Using IPV6 the access does not work, with IPV4 it works fine.

With some internet help I get to the following error when MPD is started manually (also stopped mpd mannuelly berforehand and check with ps ax):


Code:
pi@MusikBadOG:~ $ mpd --no-daemon --stdout --verbose /etc/mpd.conf
config_file: loading file /etc/mpd.conf
exception: Failed to bind to '0.0.0.0:6600'
exception: nested: Failed to bind socket: Address already in use
afterwards port 6600 is only opnened with V4 and not V6 (check with netstat -l).

/etc/mpd.conf contains the following:
Code:
bind_to_address "any"
port "6600"




Also played around a little bit with /proc/sys/net/ipv6/bindv6only tried 0 and 1 as values, but doesn't change anything.

What can I do to have port 6600 available on IPv4 and IPv6 at the same time?`
Thanks!

What clients are you talking about?

moOde access MPD via localhost.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: MPD: Failed to bind socket: Address already in use - by Tim Curtis - 01-18-2020, 03:56 PM

Forum Jump: