Traefik refuses connection coming from inside the docker container?

Hello,

I have a website running an nginx/php API inside a docker container that's accessible publicly through traefik and that works great. The problem comes when I'm trying to make a call to my API from INSIDE one of the containers on that docker network. The connection is being refused trying to go through the entrypoint from inside the container itself.

Is there a way to allow the docker container to make a request through traefik?

Thanks!

Can you share you Traefik static and dynamic config, docker-compose.yml if used?