As shown in the picture, there are 4 containers.
spider is created by:
docker run xxx --net=dockernet
app_xx-server_1/2/3 is created by
docker-compose up from a directory named
version: '3' services: xx-server: image: xx-server networks: default: external: name: dockernet
And when I start the
spider and the
app_xx, I specify the same docker network explicitly(check the ip address in the picture).
Now I want to access the
spider by http like this:
It does not work.
How to fix that?