Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSDeploy - Destination Not Reachable

I have installed Web Deploy 3.5 on Windows Server 2008 R2 and tried to run remote publish web application through visual studio 2012. However, I got the error - Destination Not Reachable.

I read some post and checked below and still got no luck.

  • Firewall was off
  • Both Web Management Service and Web Deployment Agent Service were restarted and running
  • Tried to open https://[server]:8172/msDeploy.axd in a browser and it is reachable. (Use default 8172)
  • Tried to use http://[server]/MsDeployAgentService and it is working with Admin username/password.

Did I miss anything? Thanks.

like image 426
seanbun Avatar asked Sep 19 '13 05:09

seanbun


People also ask

Can't connect to remote server web deploy?

This error indicates that you cannot connect to the server. Make sure the service URL is correct,firewall and network settings on this computer and on the server computer are configured properly,and the appropriate services have been started on the server.

What is MSDeploy EXE?

MSDeploy is a command-line executable tool created by Microsoft, which implements web deploy functionality with many powerful features. In this article I will present a simple way to publish your web application to IIS by using this tool.

How do I know if MSDeploy is installed?

Is Web Deploy installed? You can verify web deploy is installed by going to the "Programs and Features" control panel and looking for "Microsoft Web Deploy 2.0" in the list of installed programs. If it is not there, you can install it via the Web Platform Installer by going to the "Products" tab.

Where is MSDeploy installed?

Once the command prompt is up, you will navigate to the folder level where MSDeploy.exe exists. On Windows 7, the default installation will place msdeploy.exe in C:\Program Files (x86)\IIS\Microsoft Web Deploy. msdeploy.exe has an extensive command base.


3 Answers

Maybe same issue as in https://stackoverflow.com/questions/16708021/msdeploy-wmsvc-not-working ?

It appears you have to activate the web management service first and then install web deploy and i'd done it the other way round. I uninstalled WebDeploy and re-installed it, restarted the server and its working

like image 181
Mark van Straten Avatar answered Oct 17 '22 02:10

Mark van Straten


If you messed with SSL certificates this could be one of the causes as well: https://serverfault.com/questions/613634/could-not-connect-to-remote-computer-web-deploy-error-destination-not-reachable#answer-812712

like image 32
Artur Kędzior Avatar answered Oct 17 '22 02:10

Artur Kędzior


I also met the same problem. When installing WebDeploy, do not choose classic installation, but choose complete installation.

like image 30
Farb Avatar answered Oct 17 '22 04:10

Farb