Forum Discussion
docker - Azure Container Instance - how to make my container accesable and recognized from outside?
To enable external access to a Windows container on port 9000, the container should be connected to the l2bridge network so that it resides within the same subnet as the associated virtual machines. The port must be explicitly exposed and published during container execution, and appropriate DNS records or static hostnames should be configured to ensure that other VMs can reliably resolve the container’s name. Additionally, Windows firewall policies must be updated to permit inbound traffic on port 9000. Because container IP addresses are reassigned on restart, relying solely on dynamic IPs is not a sustainable approach; a DNS or static endpoint is required for consistent accessibility.
Connect container endpoints to a tenant virtual network | Microsoft Learn