chriscrowe / docker-pihole-unbound

Run Pi-Hole + Unbound on Docker
1.08k stars 286 forks source link

Unbound not binding to port? #205

Open robinhood1596 opened 1 year ago

robinhood1596 commented 1 year ago

Error-Message

[1682689361] unbound[94710:0] error: can't bind socket: Address already in use for 127.0.0.1 port 8953 [1682689361] unbound[94710:0] error: cannot open control interface 127.0.0.1 8953 [1682689361] unbound[94710:0] fatal error: could not open ports

DNSMASQ_LISTENING single
DNSMASQ_USER pihole
DNSSEC "true"
FTL_CMD no-daemon
FTLCONF_LOCAL_IPV4 192.168.178.36
IPv6 True
PATH /opt/pihole:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHP_ERROR_LOG /var/log/lighttpd/error-pihole.log
phpver php
PIHOLEDNS 127.0.0.1#5335
REV_SERVER false
REV_SERVER_CIDR 192.168.0.0/16
REV_SERVER_DOMAIN local
REV_SERVER_TARGET 192.168.178.1
S6_BEHAVIOUR_IF_STAGE2_FAILS 2
S6_CMD_WAIT_FOR_SERVICES_MAXTIME 0
S6_KEEP_ENV 1
TZ Europe/Berlin

yaml-compose used for stack

version: '3.0'

volumes: etc_pihole-unbound: etc_pihole_dnsmasq-unbound:

services: pihole: container_name: pihole image: cbcrowe/pihole-unbound:latest hostname: ${HOSTNAME} domainname: ${DOMAIN_NAME} ports:

pluim003 commented 1 year ago

This is also mentioned in https://github.com/NLnetLabs/unbound/issues/252 and in an issue here before: https://github.com/chriscrowe/docker-pihole-unbound/issues/178 . First link might give a solution.