adress in use but netstat | grep 6600 empty

Need help with MPD?
Post Reply
novski
Posts: 3
Joined: October 3rd, 2019, 7:36 pm

adress in use but netstat | grep 6600 empty

Post by novski » October 3rd, 2019, 7:43 pm

Im trying to get mdp running with defauilt config but it fails:

config: ~/.mdp/mdp.conf

Code: Select all

~$mdp
exception: Failed to bind to '[::]:6600'
exception: nested: Failed to bind socket: Address already in use
~$ netstat | grep 6600
~$
os: macos 10.14.6 mojave
dist: brew install mdp

also tried to config

Code: Select all

bind_to_address                        "127.0.0.1"
and:

Code: Select all

bind_to_address                        "0.0.0.0"
what can i do else?

max
Forum team
Posts: 956
Joined: January 15th, 2013, 3:43 pm

Re: adress in use but netstat | grep 6600 empty

Post by max » October 4th, 2019, 6:48 am


novski
Posts: 3
Joined: October 3rd, 2019, 7:36 pm

Re: adress in use but netstat | grep 6600 empty

Post by novski » October 4th, 2019, 1:04 pm

Code: Select all

novski@mac ~ $ mpd --verbose
config_file: loading file /Users/novski/.mpd/mpd.conf
exception: Failed to bind to '[::]:6600'
exception: nested: Failed to bind socket: Address already in use
novski@mac ~ $ mpd --version
Music Player Daemon 0.21.7 (0.21.7)

Copyright 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2018 Max Kellermann <max.kellermann@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Database plugins:
 simple proxy upnp

Storage plugins:
 local nfs curl

Neighbor plugins:
 upnp

Decoders plugins:
 [vorbis] ogg oga
 [oggflac] ogg oga
 [flac] flac
 [opus] opus ogg oga
 [sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
 [dsdiff] dff
 [dsf] dsf
 [hybrid_dsd] m4a
 [faad] aac
 [fluidsynth] mid
 [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve
 [pcm]

Filters:
 libsamplerate soxr

Tag plugins:
 id3tag

Output plugins:
 null fifo pipe ao openal osx httpd recorder

Encoder plugins:
 null vorbis opus lame wave flac

Archive plugins:
 [bz2] bz2

Input plugins:
 file archive curl ffmpeg nfs

Playlist plugins:
 extm3u m3u pls xspf asx rss flac cue embcue

Protocols:
 file:// http:// https:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// nfs://

Other features:
 icu ipv6 tcp un
the only thing i see is wrong is that the version is 0.21.7 and not 0.21.15 that is because i used brew to install.

any thaugts?

max
Forum team
Posts: 956
Joined: January 15th, 2013, 3:43 pm

Re: adress in use but netstat | grep 6600 empty

Post by max » October 4th, 2019, 1:52 pm

Seriously, did you read https://www.musicpd.org/help/ ?
"When you do request help, post the following data ..."

novski
Posts: 3
Joined: October 3rd, 2019, 7:36 pm

Re: adress in use but netstat | grep 6600 empty

Post by novski » October 4th, 2019, 8:03 pm

Hi, yes i read that.
I posted my version, verbose output, my config is unchanged and my failure is port is wrong detected as ocupied.
What did i miss?

max
Forum team
Posts: 956
Joined: January 15th, 2013, 3:43 pm

Re: adress in use but netstat | grep 6600 empty

Post by max » October 6th, 2019, 8:12 pm

I don't see your configuration. You showed two one-line snippets but I don't know if you used both at the same time or switched from one to the other - you posted just two lines without any context. But since those two lines (obviously) conflict with each others, I don't know if there's a MPD bug or if I need to explain to you how IP networking works (which has nothing to do with MPD).

skidoo
Posts: 176
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: adress in use but netstat | grep 6600 empty

Post by skidoo » October 7th, 2019, 11:51 am

@novski> please post your mpd.conf

Post Reply