Container instance running but cannot be accessed through web browser

mnkyntigr 11 Reputation points

My container instance is running successfully and I can log into a bash shell through the Azure portal. I am unable to connect to the ACI using the assigned IP address or FQDN using any web browser. The connection gets reset everytime. Please help

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
662 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Manu Philip 17,031 Reputation points MVP

    Check that you exposed the right port which your application listen inside the container image.

    FQDN's default access is towards port 80 port. If your application listens to some other port, and you need to expose it separately and to access the application like FQDN:port:<port>

    If the Answer is helpful, please click "Accept Answer" and upvote it

    1 person found this answer helpful.
    0 comments No comments

  2. mnkyntigr 11 Reputation points

    @Manu Philip
    Thank you for your suggestion to my earlier question. I dont think the port is my problem. Trying to troubleshoot, I have run the tutorial "Deploy a container application to Azure Container Instances"

    All the steps went through without any errors thrown. When I query the status of the aci-tutorial-app from my Azure CLI: this is what I get:

    az container show --resource-group MLcompany_1 --name aci-tutorial-app --query instanceView.state ~

    Yet when I look for at the container logs this is what I get:
    az container logs --resource-group MLcompany_1 --name aci-tutorial-app
    standard_init_linux.go:228: exec user process caused: exec format error

    Does the error message suggest what is going wrong? I tried with my original container with my app and also with a container for nginx. All containers work locally on my m1 mac machine.

    Thank you for your help in advance.

    0 comments No comments