Azure Emulator Port conflict, app tries to connect to wrong port -
when starting azure storage emulator, fails because of port conflict dell drivers/software.
i solved changing urls in storageemulatorconfig section within 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 emulator runs without problem.
my web application still tries connect old ports, though....
the connection string utilize short one:
<add name="azurestorage" connectionstring="usedevelopmentstorage=true;"/> i have tried normal form too:
<add name="azurestorage" connectionstring="defaultendpointsprotocol=https; accountname=devstoreaccount1; accountkey=eby8vdm02xnocqflquwjpllmetlcdxj1ouzft50usrz6ifsufq2uvercz4i6tq/k1szfptotr/kbhbeksogmgw==;"/> how app find endpoints should use? how can tell utilize port?
you can seek specifying endpoints in connection string:
defaultendpointsprotocol=http; accountname=devstoreaccount1;accountkey=eby8vdm02xnocqflquwjpllmetlcdxj1ouzft50usrz6ifsufq2uvercz4i6tq/k1szfptotr/kbhbeksogmgw==; blobendpoint=http://127.0.0.1:10100/devstoreaccount1; queueendpoint=http://127.0.0.1:10101/devstoreaccount1; tableendpoint=http://127.0.0.1:10102/devstoreaccount1; azure emulator windows-azure-storage
No comments:
Post a Comment