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!
Unable to connect to Music Player Daemon
Unable to connect to Music Player Daemon
- Attachments
-
- mpd error.jpg (16.38 KiB) Viewed 27891 times
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: Unable to connect to Music Player Daemon
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:
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
@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:
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:
Code: Select all
Failed to connect to host: localhost:6600 connection refused
File: ../include/play.inc.php Line: 134
Code: Select all
-bash: mpd: command not found
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: Unable to connect to Music Player Daemon
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
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