Home > Uncategorized > Azure Store Table Connection Refused

Azure Store Table Connection Refused

I’m trying to separate out my Azure environments for local development vs. Dev, Test, Staging, and Production.

For local development I’m using the Azure SDK local storage emulator.  To do that you have some connection strings that look like this:

<appSettings>  
  <add key="StorageConnectionString" value="UseDevelopmentStorage=true"/> 
</appSettings>
<connectionStrings>
  <add name="AzureWebJobsDashboard" connectionString="UseDevelopmentStorage=true" />
  <add name="AzureWebJobsStorage" connectionString="UseDevelopmentStorage=true" />
</connectionStrings>

But today I ran into a non-obvious error:

No connection could be made because the target machine actively refused it 127.0.0.1:10002

And found this cool post with the solution in the comment.  Basically, the storage emulator turns off after some period of disuse.  There’s a handy little batch script in there to clear out the storage and restart it.

http://stackoverflow.com/questions/33765141/azure-table-storage-no-connection-could-be-made-because-the-target-machine-act

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: