Web应用程序连接到azure虚拟机

Web应用程序连接到azure虚拟机

本文介绍了azure Web应用程序连接到azure虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我计划将网站迁移到Azure Web应用程序.在我的页面中,我将访问wcf rest服务以获取数据并设置数据.由于某些原因,我无法将wcf rest服务迁移到Azure Web服务.所以我计划将wcf服务移至虚拟机上 天蓝色.问题是我如何通过计算机名称或本地IP访问虚拟机?

I plan to migrate a web site to azure web app. In my pages, I will access wcf rest service to get data and set data. For some reason, I can't make the wcf rest service migrate to azure webservice. So I plan to move the wcf service to a virtual machine on azure. The problem is how I access the vm by machine name or local ip?

现在,我可以像以下方式访问wcf服务:

Now I access wcf service like:

http://localhost:3434/AOTService/AOTConnectService/WebHttp/GetAOTProject?id = 21fb18b8-b987-4a15-b024-1b374da9d956

推荐答案

https://azure.microsoft.com/zh-CN/documentation/articles/virtual-machines-windows-nsg-quickstart-portal/

https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-nsg-quickstart-portal/


这篇关于azure Web应用程序连接到azure虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 23:56