Share via

I’ve deployed a Node.js API and a React.js application in two separate App Services. However, after deployment, the application is not receiving any data from the database.

Thirupathi Reddy 20 Reputation points
2025-11-03T06:22:06.4966667+00:00

Hello,

I’ve deployed a Node.js API and a React.js application in two separate App Services. However, after deployment, the application is not receiving any data from the database.

Can anyone please help me with deployment and accessing web app.

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. Shree Hima Bindu Maganti 7,580 Reputation points Microsoft External Staff Moderator
    2025-11-04T11:36:36.0333333+00:00

    Hi @Thirupathi Reddy
    It seems you're having trouble with your Node.js API and React.js app not receiving data from the database after deploying to Azure App Services.

    Make sure your database connection strings are set up correctly in your app's code and Azure App Service configuration. If you're using Azure Cosmos DB or Azure SQL Database, confirm the settings.

    Check your App Service settings in the Azure portal to ensure all required environment variables for the database are configured.

    If you're using a Virtual Network or private endpoint, verify that the network settings are correct to avoid connectivity issues.

    Turn on application logging in Azure to see if any errors are being reported.

    If you deployed using FTP, confirm that all necessary files were uploaded, as missing files can cause errors.
    Connect to Azure SQL Database using Node.js

    Deploy a Node.js + MongoDB web app to Azure
    Enable Application Logging
    Let me know if you have any further assistances needed

    Was this answer helpful?


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.