Springboot WebClient Broken in docker container

If you are using localhost inside one container to try to communicate with a service running inside another container, that’s the wrong host to use. localhost inside a container refers to the container itself not its host. To establish a connection between containers, you’ll need to use the IP address of the container that you want to connect to rather than localhost. This networking tutorial may be of interest.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top