Web Deployment Error ERROR_DESTINATION_NOT_REACHABLE

I am trying to deploy my application using the following msdeploy command:

MSDeploy.exe -source:contentPath="C:\Users\myUser\Documents\ui\dist" -dest:contentPath='c:/inetpub/wwwroot/dist',computerName="https://ec2-xx-xxx-xx-xx.ap-northeast-1.compute.amazonaws.com:8172/MSDeploy.axd?site=Default Web Site",username="administrator",password="XXXXXXXXX",authtype="Basic",includeAcls="False" -verb:sync -allowUntrusted

Getting the following error:

Working...
    Info: Using ID '01657062-cece-4713-8dc6-585537b265fd' for connections to the rem
    ote server.
    >> Error Code: ERROR_DESTINATION_NOT_REACHABLE
    >> More Information: Could not connect to the remote computer ("ec2-52-207-222-6
    5.compute-1.amazonaws.com"). On the remote computer, make sure that Web Deploy i
    s installed and that the required process ("Web Management Service") is started.
      Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION
    _NOT_REACHABLE.
    >> Error: Unable to connect to the remote server
    >> Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xx.xxx.xx.xx:8172

I tried the same command for 6 other servers, and it worked fine, but did not work for 2 servers that are configured the same way.

  • All IIS installers are in place.
  • Inbound firewall rule for port 8172 (TCP) in place. There are no problems with other firewall rules since I disabled Firewalls.
  • Installed Web Deployment 3.6 and Web Deployment 3.6 for Hosting Servers
  • Verify that the web management service is running, the web deployment agent service is set to Automatic

What am I missing?

+4
source share
2

8172, . , Visual Studio , .

+2

- Windows -, , .

  • Visual Studio, IIS

  • , one.net (, ASP, ASP.net 4.5...)

  • , 8172 (8172 )

+2

All Articles