Dnsdock cannot bind :53

Hi all, I’m trying to install with docker compose 1.5 (ubuntu 16.04), and dnsdock container
cannot start because following error:

Starting tykquickstart_dnsdock_1
ERROR: driver failed programming external connectivity on endpoint tykquickstart_dnsdock_1 (...): Error starting userland proxy: listen udp 172.17.42.1:53: bind: cannot assign requested address

I’ve verified udp or tcp port 53 is not bound (no dns server is running):

$ ss -lun
State      Recv-Q Send-Q Local Address:Port               Peer Address:Port     
UNCONN     0      0            *:5353                     *:*
UNCONN     0      0            *:55263                    *:*
UNCONN     0      0            *:68                       *:*
UNCONN     0      0            *:631                      *:*
UNCONN     0      0           :::5353                    :::*
UNCONN     0      0           :::39066                   :::*
$ ss -ltn
State      Recv-Q Send-Q Local Address:Port               Peer Address:Port     
LISTEN     0      128          *:22                       *:*
LISTEN     0      100          *:25                       *:*
LISTEN     0      128         :::5000                    :::*
LISTEN     0      128         :::8081                    :::*
LISTEN     0      128         :::22                      :::*
LISTEN     0      100         :::25                      :::*

Someone can help ?

Many thanks in advance!!

Best

Hi, could it be a permissions error?

Check this thread. Also you may try using a newer Docker Compose version.

I’d recommend using this demo / compoase setup as it’s cleaner:

Sorry, I discovered that mi docker network is 172.17.0.0/24 instead of 172.17.41.0/24.

I fixed this, many thanks again!

Excellent, I’m tryking tyk-pro-docker-demo now after upgrading docker-compose. Many thanks!!

1 Like