是否有可能有在Windows Azure模拟器打开浏览器比其他127.0.0.1的URL [英] Is it possible to have the Windows Azure emulator open the browser to a URL other than 127.0.0.1

本文介绍了是否有可能有在Windows Azure模拟器打开浏览器比其他127.0.0.1的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单的问题,但很多背后的意义/讨论!

Simple question but lots of meaning/discussion behind!!!

时有可能有在Windows Azure模拟器打开浏览器比127.0.0.1,端口81以外的网址是什么?

Is it possible to have the Windows Azure emulator open the browser to a URL other than 127.0.0.1 and port 81?

推荐答案

按照以下步骤来更改127.0.0.1渴望IP

Follow the steps to change 127.0.0.1 to desire IP

计算仿真器设置:


  1. 转到%Program Files文件%\\微软的SDK \\的Windows Azure \\模拟器\\ devfabric

  2. 以DevFC.exe.config的备份,这样如果出现,你可以
    将其恢复。

  3. 以下设置所需的IP地址范围和子网变化:

    • <添加键=StartIPAddressVALUE =192.168.0.20/> (这可能是你的机器的IP地址)

    • <添加键=EndIPAddress值=”的192.168.0.40/>

    • <添加键=VipPoolStartIPAddressVALUE =127.0.0.1/>

    • <添加键=VipPoolEndIPAddressVALUE =127.0.0.255/>

    • <添加键=的DefaultGatewayVALUE =192.168.0.1/>

    • <添加键=子网掩码值=255.255.255.0/>

存储模拟器设置:


  1. 转到%Program Files文件%\\微软的SDK \\的Windows Azure \\模拟器\\ devstore

  1. Go to %Program Files%\Microsoft SDKs\Windows Azure\Emulator\devstore

以DSServiceLDB.exe.config的备份,这样如果出现则可以将其恢复。

Take backup of "DSServiceLDB.exe.config" so that if something goes you can revert it back.

以DSServiceSQL.exe.config的备份,这样如果出现则可以将其恢复。

Take backup of "DSServiceSQL.exe.config" so that if something goes you can revert it back.

更​​改IP地址127.0.0.1到所需的IP地址同时在配置文件中的服务部分:

Change the IP address 127.0.0.1 to desired IP address in the services section of both the config file:


  • <服务和GT;

  • <服务名称=斑点URL =HTTP://192.168.1.20:10000 //>

  • <服务名称=队列URL =HTTP://192.168.1.20:10001 //>

  • <服务名称=表URL =HTTP://192.168.1.20:10002 //>

  • < /服务>

保存两个配置文件,然​​后重新启动存储模拟器。

Save both the config files and restart the storage emulator.

最后更改存储帐户连接字符串中的Visual Studio,使其指向正确的IP地址。仿真器使用以下凭据:

Finally change the storage account connection string in visual studio so that it points to proper IP address. The emulator uses following credentials:

帐户名称: devstoreaccount1

Account Name: devstoreaccount1

帐号键:
Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq / K1SZFPTOtr / KBHBeksoGMGw ==

Account key: Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==

注意: 如果上面的账号密码不工作,然后检查DSServiceSQL.exe.config下文件的账号密码其中p账户>中部分

请确保您指定自定义根据您的IP地址显示在下面的屏幕截图终点。

Make sure you specify custom endpoint based on your IP address as shown in the screen shots below.

这一切都需要在本地网络上运行的Azure模拟器!

That’s all needed to run Azure Emulator on local network!

博客原文: http://blog.piyushthacker.com/?p=24

这篇关于是否有可能有在Windows Azure模拟器打开浏览器比其他127.0.0.1的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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