What is wrong with my web apps? They run on my system but not on Azure.

Mike Dodaro 1 Reputation point
2021-09-24T22:38:48.753+00:00

I've deployed 4-5 simple web apps to Azure Web Apps and to Azure Spring Cloud. They work on my system localhost:8080 but they fail on Azure. They show as running but return 404 when I navigate to listed url.

The code for the the current example is here: https://github.com/MikeDodaroZen/time-demo

You can: git clone https://github.com/MikeDodaroZen/time-demo.git

Try building the jar or war file with Maven
mvn clean package
Then run the app: java -jar target/time-demo-0.0.1.jar
Test on localhost:8080

Then deploy the jar or war to Azure Web Apps and see if you can get it to run.

Azure Spring Apps
Azure Spring Apps
An Azure platform as a service for running Spring Boot applications at cloud scale. Previously known as Azure Spring Cloud.
114 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,325 questions
{count} votes