MSDeploy无法到远程服务器

问题描述 投票:0回答:1

我有两台机器,第一台是我的开发机器,第二台是远程测试机器。我同时安装了IIS和Web部署。当我在开发和测试计算机中的任何一台上使用msdeploy命令进行部署时,部署成功。但是,当我从开发机部署到远程测试机时,收到如下错误:Error Code: ERROR_DESTINATION_NOT_REACHABLE More Information: Could not connect to the remote computer ("some-remote- server"). On the remote computer, make sure that Web Deploy is 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: No connection could be made because the target machine actively refused it 10.111.32.57:8172 Error count: 1.

我正在运行以下msdeploy命令:

C:\"Program Files (x86)"\IIS\"Microsoft Web Deploy V3"\msdeploy.exe -verb:sync -source:package="test.zip" -dest:auto,ComputerName="https://some-remote-machine:8172/MsDeploy.axd" -setParam:name="IIS Web Application Name",value="Default Web Site/Admin"

我有两台机器,第一台是我的开发机器,第二台是远程测试机器。我同时安装了IIS和Web部署。当我使用msdeploy在本地进行部署时...
.net iis deployment msdeploy
1个回答
0
投票
首先,请确保您在两台计算机上都安装了管理服务。
© www.soinside.com 2019 - 2024. All rights reserved.