I recomend you to enable diagnostics logging for your app. Refer the following article that helps how to configure diagnostics logging in your app.
https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs
If you are still facing issues, post the details such as application details, how you are browsing etc.
Also refer a similar thread below
https://serverfault.com/questions/818454/azure-web-app-getting-404-when-using-the-ip-address