It usually doesn’t work that way. Traefik needs to connect to the target Docker services. So it needs to have access to the IPs/ports. You probably don’t want to expose the ports on host, as that could circumvent any security middlewares.
Instead you should have Traefik and target services within Docker, with a shared Docker network. Check simple Traefik example.
I see, my main goal it to run the traefik from binary directly not from docker. and have servicse run in docker and test. so I can change code in traefik & build binary to test.