The musicpd has started successfully:
However, the mpc can never connect to musicpd.
How to fix such a problem? Thanks!
Adding bind_to_address and port in /usr/local//usr/local/etc/musicpd.conf, it works now!
Code:
>ps -aux | grep music
sw2wolf 1251 0.0 3.3 64008 16524 ?? Is 8:50ä¸Šåˆ 0:00.00 musicpd musicpd.conf
>sockstat | grep music
sw2wolf musicpd 1251 4 stream /home/sw2wolf/music/.mpd/socket
However, the mpc can never connect to musicpd.
Code:
>mpc listall
error: Connection refused
>mpc ls
error: Connection refused
How to fix such a problem? Thanks!
Adding bind_to_address and port in /usr/local//usr/local/etc/musicpd.conf, it works now!