Dec 27, 2019 08:09 AM|samwu|LINK
Web Deploy stops working with "cannot connect to remote server" error message.
You can try to troubleshoot your web deploy problems by this link:https://docs.microsoft.com/en-us/iis/publish/troubleshooting-web-deploy/troubleshooting-web-deploy-problems-with-visual-studio
please check is the Management Service configured to allow remote connections or is the service URL correct? and so on.