c# WebApp connection refused after published

Alessandro Grassi 6 Reputation points
2021-06-28T13:13:32.723+00:00

Hi,
I've a problem with my webapp, but only after i publish it on azure.
If i start the web app from visual studio in my machine locally, and i try to call an api (on localhost:5001) it work normally, but when i try to call the api to web app published on azure (xxxx.azurewebsite.net) it always fails with a connection refused error
Any suggestions?

Thank's

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,836 questions
{count} votes

1 answer

Sort by: Most helpful
  1. BhargaviAnnadevara-MSFT 5,446 Reputation points
    2021-07-06T11:14:27.8+00:00

    @AlessandroGrassi-5467 Thanks for the response. Could you please also confirm which SKU/pricing tier your app is running on?

    It could be that your web app has reached a resource quota limit that might apply to a Free or Shared scale service plan. Please try scaling up to the next higher tier so the application gets all the resources it needs.

    Please check if that resolves the issue.

    0 comments No comments