通过IP而非URL访问Wep App(应用服务)? [英] Access to Wep App (App Service) over IP instead of URL ?

查看:121
本文介绍了通过IP而非URL访问Wep App(应用服务)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的社区,

我如何通过IP地址访问我的Web应用程序?

how can i access my Web App by IP-Adress ?

我正在使用某些无法使用DNS-服务器的IOT设备,因此我需要通过IP访问我的Web应用程序.

I'm using some IOT Devices where DNS - Server is not available so i need to access my Web App over IP.

我已将Web应用程序创建为应用程序服务"在Azure中发布Asp.Net网站.

I have created an Web App as "App Service"  in Azure and publish an Asp.Net Website.

我可以通过输入"http://myWebapp.azurewebsites.net/myIOTData"来打开REST服务.

I can open the REST Service by entering "http://myWebapp.azurewebsites.net/myIOTData".

如何使用Web App的IP地址?示例:http://51.136.14.32/myIOTData" ?

How can i use the IP Adress of the Web App ? Example : http://51.136.14.32/myIOTData" ?

谢谢您的帮助.

推荐答案

您可以"地图 您的域 ",以使用IP地址通过Azure Web应用程序设置"刀片中提供的自定义域"来访问azure网站.您还可以限制Azure网站的IP和域,请参阅 此处 .

You may "Map your domain" for accessing the azure web site using IP address by using "Custom Domain" available in ‘settings’ blade of Azure web app. You may also restrict IP and Domain for your Azure website, refer here.


这篇关于通过IP而非URL访问Wep App(应用服务)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆