Docker Community Forums

Share and learn in the Docker community.

Can not access web interface from container in same network


(Teminvictus) #1

hello,
I am having trouble opening a web interface from a container on another container.

Basically I have two containers in the same network, one is running a website that I want to have access to on another container. But I can´t open it with the internal ip. strangely I am able to ping the containers between each others. maybe someone has an idea.

Ubuntu 18.04 LTS
Docker 18.06.0-ce
API 1.38

thanks


(Martin Terp) #2

Hi :slight_smile:

Can you provide the commands you have used to create these containers, or docker-compose file if you used that?