Share via

MY Azure web app won't start any more.

PeterG 0 Reputation points
2025-07-27T01:56:15.3966667+00:00

I have being successfully running some web apps in azure for months. Suddenly they stopped running. When I click the Start button on each web app, it tells me it started successfully but it is not running. The Start button is still active. The log file says:

Unable to open a connection to your app. This may be due to any network security groups or IP restriction rules that you have placed on your app. To use log streaming, please make sure you are able to access your app directly from your current network.

I have recreated the web apps but no difference.

Any ideas?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-07-31T06:08:31.6133333+00:00

    Hi @PeterG,

    Thank you for posting your question in the Microsoft Q&A forum.

    The error message seems you’re facing:

    "Unable to open a connection to your app. This may be due to any network security groups or IP restriction rules that you have placed on your app. To use log streaming, please make sure you are able to access your app directly from your current network"

    Means that Azure App Service is blocking connections likely due to IP restrictions, access restrictions, or VNet integration.

     

    Steps to Resolve and Start the Web App Again

    Step 1: Check App Service Availability

    Go to Azure Portal > App Services > Your Web App

    On the top If you observe Start option you can click on that will turn into Stop then you can conform your app is running.

    User's image

    Click on the URL directly in your browser. In my case this my sample app and that yellow colored is my domain link.

    User's image

    If it doesn’t load, proceed with the steps given below.

     

    Step 2: Check Access Restrictions (IP/NSG)

    If Access Restrictions are Disable.

    Navigate to: Azure Portal > App Service > Networking > Inbound traffic configuration > Access Restrictions > Public network access

    If the option is “Disable”.

    User's image

    Click on the Disable will get two options.

    1. Enabled from all networks (This will clear current access restrictions).
    2. Enabled from selected virtual networks and IP addresses.

     

    1.If you want to allow your application to public access, then enable this option.

    User's image Click on continue it will open Site access and rules then Save will ask you Access update confirmation click the check box and continue.

    User's image

    User's image

    Now try your URL directory it will access.

     

    2.Enabled from selected virtual networks and IP addresses.

    If you see “Deny” or a list of IPs that doesn’t include your current IP — this is likely the issue.

    User's image

    Then change it to “Allow” and Save it.

    User's image

    Now try your URL directory it will access.

    If below option is deny we can add IP’s to access our url.

    Add Your IP:

    User's image

    ·       Click on “+ Add ”

    Set your rule like:

    1. Name: AllowMyIP
    2. Action: Allow
    3. Priority: 400
    4. IP Range: <Your Public IP>/32

    Get your public IP from: https://www.whatismyip.com

    You can refer to this documentation link for

    Access restrictions :-

     App Service Access restrictions - Azure App Service | Microsoft Learn

     Inbound and outbound rules :-

    Inbound/Outbound IP addresses - Azure App Service | Microsoft Learn

     

    Step 3: Restart the App

    After updating access rules:

    • Go to App Service > Overview
    • Click Restart
    • Try accessing the web app and log stream again.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.