Skip to content

Instantly share code, notes, and snippets.

@akhabali
Forked from jcdickinson/forward.bat
Last active June 28, 2017 09:37
Show Gist options
  • Save akhabali/917be3619337ff4865b5f8173b7695e7 to your computer and use it in GitHub Desktop.
Save akhabali/917be3619337ff4865b5f8173b7695e7 to your computer and use it in GitHub Desktop.
Share Azure Storage Emulator For Development Team
#1 Install the azure emulator with the default configuration
#2 Add port proxy to redirect connection to the azure local port
netsh interface portproxy add v4tov4 listenport=20000 connectaddress=127.0.0.1 connectport=10000 protocol=tcp
netsh interface portproxy add v4tov4 listenport=20001 connectaddress=127.0.0.1 connectport=10001 protocol=tcp
netsh interface portproxy add v4tov4 listenport=20002 connectaddress=127.0.0.1 connectport=10002 protocol=tcp
#3 use this connection string to connect remotely
REM DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;
REM AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;
REM BlobEndpoint=http://[remote-server-ip]:20000/devstoreaccount1;
REM TableEndpoint=http://[remote-server-ip]:20002/devstoreaccount1;
REM QueueEndpoint=http://[remote-server-ip]:20001/devstoreaccount1;
# With this configuration you can still use Azure Storage Explorer localy to expolre the emulator
# You can connect remotely to the emulator for developement and integration test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment