Sounds like you may have applied network restrictions to the app service. If you do that and hit it from an address that is not allowed you will see the app offline error.
App Service is offline
When trying to deploy the app from Visual Studio. It is giving the following error
Web deployment task failed. (Could not connect to the remote computer ("suppliersearchsystem.scm.azurewebsites.net") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.)
But, in the azure portal status of app service is "running". Unable to find the issue.
When i was hitting website. It was showing "App Service Offline". but after deleting app_offline.htm under wwwroot through console in the portal, previous deployed version of the app is running.
But can't deploy new changes from Visual studio
Any help would be appreciated.
2 answers
Sort by: Most helpful
-
-
SnehaAgrawal-MSFT 21,766 Reputation points
2022-10-27T06:28:43.2+00:00 @research Just checking here if you chance to see response of Sam-Cogan, as suggestions on error is to ensure,
- You can ping the remote machine
- That the msdepsvc or wmsvc service is started on the remote server.
- Your firewall is not blocking incoming connections of your ports on the destination. If you used the default installation, then it would be 80 for msdepsvc and 8172 for wmsvc.
Please let us know if further query or issue remains.