Having installed and configured MPD, I set about demonstrating that it worked on the same machine (aka SERVER). I used the client MPDCtrl on Microsoft Store. It worked fine on the host system, using 127.0.0.1 as the host and 6600 as the port.
Unfortunately, I have not been as successful in running the same client, same parameters (IP changed to 192.168.1.xx) on a remote client machine (aka CLIENT). The error message I get from MPDCtrl is:
"Connection Error: TCP connection error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"
In pursuit of resolving this I have configured the relevant port (6600, TCP & UDP, in & out) on the SERVER and tested it using TELNET on both SERVER & CLIENT; I have also tested it with a served game (BZFlag) running on 6600, which worked fine.
The following is my mpd.conf file.
Code: Select all
music_directory "c:/mpd/"
log_file "c:/mpd/mpd.log"
db_file "c:/mpd/mpd.db"
playlist_directory "c:/mpd/playlists"
bind_to_address "0.0.0.0"
audio_output {
type "winmm"
name "Speakers"
device "Speakers (Sound Blaster Play! 3)"
}
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis" # optional, vorbis or lame
port "6600"
# quality "5.0" # do not define if bitrate is defined
bitrate "128" # do not define if quality is defined
format "44100:16:1"
}
- MPD is installed and seems to work fine. I can play music locally (on the SERVER machine) using MPDCtrl (IPs tested: 127.0.0.1 & 192.168.1.xx, port 6600).
- SERVER firewall is configured to allow TCP & UDP traffic in both directions on port 6600. I have tested this as working using a game (BZFlag both SERVER & CLIENT - IP: 192.168.1.xx, Port: 6600) as well as TELNET (when the game server is running).
- When MPD is running neither telnet or MPDCtrl (both testing IP: 192.168.1.xx, port 6600) can connect.
- MPDCtrl running on the CLIENT machine cannot communicate with MPD running on the SERVER machine (IPs: 192.168.1.xx, Port: 6600), generating the message:
"Connection Error: TCP connection error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond".
Cheers

James