[Pkg-mpd-maintainers] Bug#813754: Bug#813754: Bug#813754: Can't open port 6600 when run syste, -wide vis systemd

Matthew E. J. Draisey matt at draisey.ca
Tue Dec 13 10:34:28 UTC 2016


I just fixed a situation where I couldn't get mpd to work over my home network.
I think it may be this same issue.

On my system

    # sysctl net/ipv6/bindv6only
    net.ipv6.bindv6only = 1

netstat would show init listening on [::]:6600 but doesn't report the
IPV6_V6ONLY socket state so I had missed there was no socket listening on ipv4.

Adding

    [Socket]
    BindIPv6Only=both

to the mpd.socket unit fixed my problem.





On Mon, 12 Sep 2016 22:50:00 +0200 Florian Schlichting <fsfs at debian.org> wrote:
> Control: tags 813754 +moreinfo
> > Correct.
> > 
> > > so port 6600 should be open and you
> > > should see systemd listening there until the first connection is
> > > actually made.
> > > 
> > > What is the netstat output after system startup?
> > 
> > # netstat -putan | grep mpd
> > tcp        0      0 0.0.0.0:8000            0.0.0.0:*               LISTEN      721/mpd
> > 
> > Nos I never though of grepping 6600:
> >          
> > # netstat -putan | grep 6600
> > tcp6       0      0 :::6600                 :::*                    LISTEN      1/init



More information about the Pkg-mpd-maintainers mailing list