Is it possible to have the Windows Azure emulator open the browser to a URL other than 127.0.0.1 -


simple question lots of meaning/discussion behind!!!

is possible have windows azure emulator open browser url other 127.0.0.1 , port 81?

follow steps change 127.0.0.1 desire ip

compute emulator settings:

  1. go %program files%\microsoft sdks\windows azure\emulator\devfabric
  2. take backup of “devfc.exe.config” if goes can revert back.
  3. change following settings desired ip address range , subnet:
    • <add key="startipaddress" value="192.168.0.20"/> (this can ip address on machine)
    • <add key="endipaddress" value=”192.168.0.40" />
    • <add key="vippoolstartipaddress" value="127.0.0.1" />
    • <add key="vippoolendipaddress" value="127.0.0.255" />
    • <add key="defaultgateway" value="192.168.0.1" />
    • <add key="subnetmask" value="255.255.255.0" />
  4. save config file.
  5. restart compute emulator.

storage emulator settings:

  1. go %program files%\microsoft sdks\windows azure\emulator\devstore

  2. take backup of “dsserviceldb.exe.config” if goes can revert back.

  3. take backup of “dsservicesql.exe.config” if goes can revert back.

  4. change ip address 127.0.0.1 desired ip address in services section of both config file:

    • <services>
    • <service name="blob" url="http: //192.168.1.20:10000/"/>
    • <service name="queue" url="http: //192.168.1.20:10001/"/>
    • <service name="table" url="http: //192.168.1.20:10002/"/>
    • </services>
  5. save both config files , restart storage emulator.

finally change storage account connection string in visual studio points proper ip address. emulator uses following credentials:

account name: devstoreaccount1

account key: eby8vdm02xnocqflquwjpllmetlcdxj1ouzft50usrz6ifsufq2uvercz4i6tq/k1szfptotr/kbhbeksogmgw==

note: if above account key not work check account key in “dsservicesql.exe.config” file under “<accounts>” section.

make sure specify custom endpoint based on ip address shown in screen shots below.

that’s needed run azure emulator on local network!

original blog: http://blog.piyushthacker.com/?p=24


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -