I am using Visual Studio 2012 and Windows Server 2012 and want to do a web deploy / publish to the IIS server installed there. It complains that it cannot reach the server and suggests to:
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. I have pretty much done all of those but Web Deploy refuses to connect. I tested this with a Windows 2008 R2 server and it works fine.