locked
SSH Console Not Accessible RRS feed

  • Question

  • Hi,

    I have created a web app in azure using docker container to publish post which I am trying to access the SSH console but keep getting error Error: connect ECONNREFUSED 172.16.0.2:2222 all the time hence would appreciate your help.

    Thanks,
    Sameer

    Wednesday, April 29, 2020 7:49 AM

All replies

  • Thanks for asking question! Could you please confirm if you are using multi container or single to help you better on this?

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    We're migrating from MSDN to Microsoft Q&A as our new forums and Azure App Service has already made the move!  In future, you can ask and look for the discussion for Azure App Service related questions here:   https://docs.microsoft.com/answers/topics/azure-webapps.html

    We are actively working to onboard remaining Azure services on Microsoft Q&A. We will make a public announcement once complete. Want to Learn more about new platform: Microsoft Q&A Getting Started


    Wednesday, April 29, 2020 4:55 PM
  • Hello Sameer,

    Does your container work locally? Also, please check to make sure your container listens on 2222/TCP for your credentials. 

    By using TCP tunneling you can create a network connection between your development machine and Web App for Containers over an authenticated WebSocket connection. It enables you to open an SSH session with your container running in App Service from the client of your choice.

    Hope that helps. Please let us know if you have further questions

    Thanks,

    Grace

    Wednesday, April 29, 2020 6:43 PM