When starting the Azure Storage Emulator, it fails because of a port conflict with some dell drivers/software.
I solved this by changing urls in the StorageEmulatorConfig
section inside WAStorageEmulator.exe.config
.
<StorageEmulatorConfig>
<services>
<service name="Blob" url="http://127.0.0.1:10100/"/>
<service name="Queue" url="http://127.0.0.1:10101/"/>
<service name="Table" url="http://127.0.0.1:10102/"/>
</services>
<accounts.../>
</StorageEmulatorConfig>
So now the emulator runs without problem.
My web application still tries to connect to the old ports, though....
The connection string that I use is the short one:
<add name="AzureStorage" connectionString="UseDevelopmentStorage=true;"/>
I have tried the normal form too:
<add name="AzureStorage"
connectionString="DefaultEndpointsProtocol=https;
AccountName=devstoreaccount1;
AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;"/>
How does my app discover what endpoints it should use?
How can I tell it to use another port?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…