服务器:输入IP地址即可
站点名称:格式为”站点名称“/"应用程序名称"
用户密码即为上面我们配置的用户密码。
目标URL:一般格式:http://ip:端口号/y应用程序名称,在我们发布完成之后,浏览器会自动的打开这个url。
参考文章:
1、http://www.cnblogs.com/Jackson-Bruce/archive/2016/08/06/5739001.html
2、http://www.cnblogs.com/ensleep/p/4915016.html
遇到报错:
Could not connect to the remote computer ("10.0.3.102") 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.
The remote server returned an error: (403) Forbidden.
解决方法:
1、open "Add or remove" programs
2、Click on "Microsoft Web Deploy"
3、Click on "Change" button (besides "Uninstall")
4、Click on "Next" in
5、Click on "Change" in
6、Add the features marked with red X
7、Finish the installation
Result: Publish from Visual Studio is working