Skip to content

Application not listening to IPv6 #292

Description

@DZ945brH

Starting the container as this:

docker run -d
--name=deconz
--restart=always
-p 80:80
-p 443:443
-v /etc/localtime:/etc/localtime:ro
-v /opt/deconz:/opt/deCONZ
--device=/dev/ttyACM0
deconzcommunity/deconz:stable

the application is not listening to IPv6 addresses:

~# docker exec -it 5cab659c862a netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN -
udp 0 0 0.0.0.0:1900 0.0.0.0:* -

even though IPv6 is available:

~# docker exec -it 5cab659c862a ifconfig | grep inet
inet 172.17.0.2 netmask 255.255.255.0 broadcast 172.17.0.255
inet6 2001:678:XXXX:XXXX::2 prefixlen 64 scopeid 0x0
inet6 fe80::b817:XXXX:XXXX:8119 prefixlen 64 scopeid 0x20
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions