I've got a home server with music files stored locally on said server.I've got MPD & ncmpcpp installed on this home server.I'm trying to prototype this so I can go the extra trivial step of forwarding ports so this can be accessed anywhere, but I'm having quite a bit of trouble even getting this to work locally.  I'm working on a remote machine, but all the work I've done this morning has been in a remote shell inside the home server...I've killed and disabled the daemon for mpd, and started it like so:mpd --stdout --no-daemon --verbose ~/.config/mpd/mpd.conf and gotten this output:config_file: loading file .config/mpd/mpd.confpath: SetFSCharset: fs charset is:libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator'vorbis: Xiph.Org libVorbis 1.3.5opus: libopus 1.1.4sndfile: libsndfile-1.0.27simple_db: reading DBcurl: version 7.52.1curl: with OpenSSL/1.0.2kavahi: Initializing interfaceavahi: Client changed to state 101avahi: Client is CONNECTINGstate_file: Loading state file /home/dale/.config/mpd/stateThe port appears to be doing something, or at least ready to do something for MPD:~  sudo netstat -lnp | sudo grep 8002tcp        0      0 127.0.0.1:8002          0.0.0.0:*               LISTEN      21596/mpd     However, when I run ncmpcpp (from within the same machine that is running MPD, the home server....remember, I'm ssh'ed in), I get the following complaint:ncmpcpp:  Failed to resolve host nameI've got the following ~/.config/mpd/mpd.conf file:music_directory         /mnt/media/Musicplaylist_directory      ~/.config/mpd/playlistsdb_file             ~/.config/mpd/databaselog_file            ~/.config/mpd/logpid_file            ~/.config/mpd/pidstate_file          ~/.config/mpd/statesticker_file            ~/.config/mpd/sticker.sql#mixer_type        software# optsbind_to_address         127.0.0.1port                6601log_level           defaultgapless_mp3_playback        yesfilesystem_charset      UTF-8# ioinput {        plugin curl}audio_output {    type        alsa    name        My ALSA Device    device      hw:0,0    # optional    mixer_type      hardware  # optional    mixer_device    default   # optional    mixer_control   PCM       # optional    mixer_index 0     # optional}#audio_output {#   type        alsa#   name        audio#}audio_output {    type        fifo    name        visualizer    path        /tmp/mpd.fifo    format      44100:16:2}audio_output {    type        httpd    name        My HTTP Stream    encoder     vorbis        # optional        bind_to_address 127.0.0.1    port        8002#   quality     5.0           # do not define if bitrate is defined    bitrate     128           # do not define if quality is defined    format      44100:16:1    always_on       yes           # prevent MPD from disconnecting all listeners when playback is stopped.    tags            yes           # httpd supports sending tags to listening streams.}`I've got this in my ~/.ncmpcpp/config file:ncmpcpp_directory = ~/.ncmpcpp#lyrics_directory = ~/.lyricsexternal_editor = /usr/bin/vim#  MPD Settingsmpd_crossfade_time = 3mpd_music_dir = /mnt/media/Musicmpd_host = 127.0.0.1:8002mpd_port = 8002Any ideas which property(ies) I've misconfigured?Thanks
mpd httpd not responding to tcp port
networking;port forwarding;http;mpd