strong-scientist-17505
12/15/2022, 2:01 PMdockerd
on macOS 12.6.
I am trying to expose port 53 in the container as 5300 on the host. The docker-compose contains this:
ports:
- 192.168.0.18:5300:53/udp
I receive the error message:
Error starting userland proxy: listen udp4 192.168.0.18:5300: bind: cannot assign requested address
If I expose 80 as 8080 for nginx, via docker run --name some-nginx -d -p 8080:80 nginx
, however, then I can access 192.168.0.18:8080 without a problem.gifted-wall-83531
12/15/2022, 2:09 PMstrong-scientist-17505
12/15/2022, 2:11 PMwide-mechanic-33041
12/15/2022, 2:12 PMstrong-scientist-17505
12/15/2022, 2:13 PMwide-mechanic-33041
12/15/2022, 2:14 PMstrong-scientist-17505
12/15/2022, 2:15 PMwide-mechanic-33041
12/15/2022, 2:16 PMstrong-scientist-17505
12/15/2022, 2:17 PM