Closed mohamedMahameed closed 6 years ago
I was following this (formal) tutorial on how to publish a Spring Boot app as a Docker container by using the Azure Toolkit for IntelliJ : https://docs.microsoft.com/en-us/java/azure/intellij/azure-toolkit-for-intellij-publish-spring-boot-docker-app
and it says I should publish the web app to Azure by using a Docker container , so I followed this tutorial on how to create a Docker container : https://docs.microsoft.com/en-us/java/azure/intellij/azure-toolkit-for-intellij-publish-as-docker-container
I did every thing in these two tutorials , and I got this permission error in IntelliJ :
after clicking ok I got this :
from what I understand , what I did is that I created new VM and deployed the app on it and it's currently running , I am not sure about how to make sure if what I did is right .. when clicking the link I get the error that the page refused to connect :
I will try to solve this but you are all welcomed to search for solutions.
I followed lots of tutorials but none of them was really helpful as I needed, I followed the formal documantations of Azure, but the tool kit I downloaded didn't work as explained, so I tried a lot of ways without using the tool kit, such as openning a VM thay runs servlet and deploy the app there and make the server active all the time on that machine but it didn't work out, a guy on stack overflow suggested to remove the Azure tool kit and redownload it, I did that and it worked that way,unfortunately this bug and research about Azure services took me over than 15 hours.
In this issue I am going to share everything I learned about deploying a Spring Boot web app to azure.