Hello @PRABHU A
In Azure Web App you can only expose one port to the outside world and you can use only two ports: 80 and 443 .
See limitations
You can use Azure Database for Postgress instead or create a multi-container (preview) app in Web App for Containers to host your app together with DB
See SonarQube + DB deployment to Azure App Service as an example
https://lemtirisalah.com/deploying-sonarqube-and-sql-server-in-azure-app-service-for-containers-with-docker-compose/