How to access localhost from within docker image
I have B application which calls A application. Here are the source code for them: A application : @SpringBootApplication @RestController @Slf4j public class AApplication { public static void main(String[] args) { SpringApplication.run(AApplication.class, args); } @GetMapping("call_a") public double callA() { log.info("calling…