Bind the Azure Emulator to all addresses of its host?

折月煮酒 提交于 2020-01-06 02:36:29

问题


Is it possible to bind the Azure Emulator to all of the addresses on the host? The default configuration binds the emulator to a single address, the loopback address - 127.0.0.1.

I can successfully change the single address that it binds to in its config file:

%Program Files%\Microsoft SDKs\Windows Azure\Emulator\devfabric\DevFC.exe.config

By changing VipPoolStartIPAddress and VipPoolEndIPAddress:

<add key="VipPoolStartIPAddress" value="192.168.1.130" />
<add key="VipPoolEndIPAddress" value="192.168.1.130" />

What I want to do, however, is bind the emulator to all of the addresses on the host. I've tried a bunch of unfruitful configurations:

  • *
  • *.*.*.*
  • 0.0.0.0
  • empty

Could this really be impossible in v2.3?

Thanks, Pete


回答1:


There is no way to do this other than, as you mentioned in your comment, to redirect other traffic to your loopback adapter. This has been the by-design behavior since SDK 1.0.



来源:https://stackoverflow.com/questions/24591302/bind-the-azure-emulator-to-all-addresses-of-its-host

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!