Page 1 of 1
Unable to connect to Music Player Daemon
Posted: Fri Nov 16, 2012 8:17 am
by tdo83
Hello,
I have successfully installed netjukebox on the webserver that hosts my website; however, when I click on the "playlist" tab, I get this error "Failed to connect to: 127.0.0.1:6600 Connection refused." I have done a lot of research but can't seem to find a solution. Please advise!
Thanks!
Re: Unable to connect to Music Player Daemon
Posted: Sun Nov 25, 2012 5:38 pm
by wbartels
netjukebox can be used to stream music or use it as a music server.
The playlist function is only working when used as a music server.
To get the music server working one of the following players must be installed on the same server as netjukebox and configured with the web interface
config > Player profile:
- MPD (music player deamon)
- Winamp + httpQ plugin
- VLC + HTTP remote control interface (no playlist support yet)
Re: Unable to connect to Music Player Daemon
Posted: Wed Nov 28, 2012 1:03 am
by wbartels
Re: Unable to connect to Music Player Daemon
Posted: Thu Sep 06, 2018 7:42 pm
by cargilcm
@wbartels, have you encountered this issue with the sourceforge "demo instance?" I have the web player profile set up on my web server and am getting the same error it appears:
Code: Select all
Failed to connect to host: localhost:6600 connection refused
File: ../include/play.inc.php Line: 134
I've looked at the code for mpd in the play file but I have limited familiarity with using sockets and streams. I was not able to get the streaming to work on my windows phone, while the HTML5 audio demo at
w3c does work on this device. In trying to understand mpd it looks like my server does not have that program available:
Re: Unable to connect to Music Player Daemon
Posted: Thu Sep 06, 2018 9:53 pm
by wbartels
MPD or Music Player Daemon is intend for local or LAN playback.
You also have to install MPD, see
https://www.musicpd.org and
http://www.netjukebox.nl/install.php for more detail.
Here is in a nutshell how I setup netjukebox:
On my Ubuntu Server at home I have installed MPD and connected it with a toslink to my DAC/Preamp.
I use my PC or iPad to control MPD with the netjukebox web interface.
If I'm away from home/living-room I use the streaming part of netjukebox.
I also have setup netjukebox on sourceforge.net (demo.netjukebox.nl) to limit bandwidth.
This is a setup without MPD.
I hope this helps,
Willem