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
#5
Hello,

sorry for the late resposne but had some private topics.

@Tim Curtis:
I tested access with M.A.L.P. on Android and Cantata on Windows 10. Using both on local network with Fritzbox 7590 as DNS Server for local requests. Both resolve to the IPV6 address so I need to configure the IPV4 adress as fixed value and connot use the hostname.


@TheOldPresbyope:
Thanks for the infomration. The problem is, that when I change mpd.conf to:

Code:
bind_to_address "::"
port "6600"

and test again I get the following:

Code:
pi@MusikBadOG:~ $ mpd --no-daemon --stdout --verbose /etc/mpd.conf
config_file: loading file /etc/mpd.conf
exception: Failed to bind to ':::6600'
exception: nested: Failed to bind socket: Address already in use
pi@MusikBadOG:~ $ netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:32975           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:sunrpc          0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:http            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:58265           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:49469           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:microsoft-ds    0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:41735           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:netbios-ssn     0.0.0.0:*               LISTEN
tcp6       0      0 [::]:sunrpc             [::]:*                  LISTEN
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN
tcp6       0      0 [::]:microsoft-ds       [::]:*                  LISTEN
tcp6       0      0 [::]:6600               [::]:*                  LISTEN
tcp6       0      0 [::]:netbios-ssn        [::]:*                  LISTEN
[...]

So IPV6 support seems to be implemented, because then I can connect using IPV6 (but only).

Any other suggestions? :-)

Thanks for your help!
Reply


Messages In This Thread
RE: MPD: Failed to bind socket: Address already in use - by mohel - 01-26-2020, 06:59 PM

Forum Jump: