notandy / ympd

Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS
http://www.ympd.org
GNU General Public License v2.0
523 stars 144 forks source link

IPv6 Support #30

Closed nerab closed 10 years ago

nerab commented 10 years ago

ympd doesn't seem to support IPv6:

 $ ympd -w 8080 &
 MPD Connecting to 127.0.0.1:6600
 MPD connected.
 $ netstat -an | grep 8080
 tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN

I would have expected to see an additional line like this:

tcp6       0      0 :::8080                 :::*                    LISTEN

mpd, by the way, supports IPv6 fine.

ajs124 commented 10 years ago

The "framework" ympd uses (mongoose) has ipv6 support. You could try compiling with the MONGOOSE_USE_IPV6 option.

notandy commented 10 years ago

Hi, ipv6 is now default on, usable with the -w option flag: ympd -w "[::1]:8080"