This SharePoint tutorial explains, how to fix an error, Could not connect to the remote computer. On the remote computer, make sure that web deploy is installed and that the required process (“Web Management Service”) is started. Unable to connect to the remote server.
The issues which come while trying to deploy a provider hosted add-in using visual studio 2015 in SharePoint Online. For us, the error comes when we tried to preview in the publishing step. Once we click on Start preview in the below step the error comes.
Web deployment task failed. (Could not connect to the remote computer (“enjoysharepoint.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: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC.)
To resolve the issue, try to start preview multiple times. Once it is successful, then only click on Publish. Else it will not publish correctly, it will have an error.
Sometimes due to a network issue, it is unable to connect to the Azure environment. Try 2/3 times it will succeed.
You may like following SharePoint tutorials:
- How to create provider hosted app in SharePoint Online step by step
- Debug SharePoint Hosted or Provider hosted Add-in in a different browser in visual studio
- Pass Query string value from SharePoint Page to provider hosted app in SharePoint 2013
- Provider Hosted App to display Power BI reports in SharePoint Online
- SharePoint hosted add-in: Error. Access denied. You do not have permission to perform this action or access this resource
This tutorial, we learned how to solve an error, Could not connect to the remote computer. On the remote computer, make sure that web deploy is installed and that the required process (“Web Management Service”) is started. Unable to connect to the remote server.
I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SPGuides.com
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.