I am currently following the tutorial here to deploy an ASP.NET app to my Azure VM using Visual Studio. There are two pre-requisites listed for the tutorial; I fulfill them both.
Unfortunately, I keep encountering this error:
Web deployment task failed. (Could not connect to the remote computer ("XXX.westeurope.cloudapp.azure.com") 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.)
Running the command
net start wmsvc gives me the following response:
The requested service has already been started.
When I run
netstat -an, I can verify that Port 8172 (to which I am trying to deploy my ASP.NET app) is listening:
TCP 0.0.0.0:8172 0.0.0.0:0 LISTENING
I have also ensured that there is an inbound security rule inside my firewall to allow all connections to Port 8172 via TCP. On my Azure portal, I have added the same security rule too.
Any ideas on how I may fix this issue?