Deployment with docker-compose to Azure using CLI gives timeout when visiting agent page Deployment with docker-compose to Azure using CLI gives timeout when visiting agent page azure azure

Deployment with docker-compose to Azure using CLI gives timeout when visiting agent page


First, check if your docker image works in azure, and you can open web page from swarm master server.

ssh -p 2200 azureuser@104.42.255.141 # Connect via ssh to your swarm mastersudo apt-get install lynx # Install lynx - console web browser docker ps # check IP address of applynx 10.0.0.5:8000 # Open your app in lynx (using private IP address)

If page doesn't load then there is a problem with the image or your app didn't start properly.If page loads, it means there is a problem with network infrastructure. Probably there is missing rules in load balancer for swarm agent. By default, there are open ports at 80, 443 and 8080. Just add new rule for 8000, and wait a moment.