Docker HTTP-requests between containers
Solution 1:
See the document. The port 10010 is a host port but not container port. You should use 9000 when you access service2
container directly.
So just change "http://service2:10010/api/"
to "http://service2:9000/api/"
and it will work.