I'm trying to move to traefik to a new server. The old configuration that still works on my old server doesn't work on my new (Ubuntu 20.04 one):
The problem is with having traefik listen to two networks:
In my docker-compose.yml I have the following
ports: - "80:80" - "443:443" networks: default: ipv4_address: 172.19.1.28 net-external: ipv4_address: 192.168.11.28
I can connect to traefik from the docker host (tested by telnetting to port 80 on 172.19.1.28 and 192.168.11.68).
However, I can not connect to port 80 on the docker host machine (telnet docker-host.local 80 or connecting with a web browser doesn't work at all).
If I remove the 'net-external' network, this works. But if both are present, it doesn't work. In this case, the connection seems to 'hang' (no connection refused, but web browser / telnet just hangs)