Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Azure Tools: Port conflict with existing application?

I am using TFS a azure application in server, and I found this error , I couldn't resolve this since then,

Microsoft Azure Tools: Failed to initialize Microsoft Azure storage emulator. Port conflict with existing application.

Can anyone please help me in providing me steps to resolve this please.

like image 939
Shweta Reddy Avatar asked Dec 21 '15 10:12

Shweta Reddy


People also ask

Where is Azurestorageemulator EXE?

The Storage Emulator is installed by default to C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator .

How do you stop azurite?

Azurite (installed with npm) currently can only be stop by send Ctrl+c.

What is azurite emulator?

The Azurite open-source emulator provides a free local environment for testing your Azure Blob, Queue Storage, and Table Storage applications. When you're satisfied with how your application is working locally, switch to using an Azure Storage account in the cloud.

How do I run Azure storage emulator as an administrator?

1. Click Start, point to All Programs, and then click Windows Azure SDK. 2. Right-click on Windows Azure SDK Command Prompt and then click Run as administrator.


1 Answers

By default, Azure storage emulator is using port number 10000, 10001, 10002 for Blob, Queue and Table services respectively.

If you have existing applications using these port numbers and can't be changed, you can resolve the port conflict by changing Azure storage emulator default port numbers to avoid port conflict as the steps below:

  1. Stop your Azure storage emulator service
  2. Go to your storage emulator default installation folder, which is located at C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator
  3. Open the AzureStorageEmulator.exe.config file for edit
  4. Edit the default port numbers as shown below enter image description here
  5. Start your Azure storage emulator service.

You should expect the Azure storage emulator to start successfully without any port conflict.

Hope it helps!

like image 81
juvchan Avatar answered Nov 03 '22 00:11

juvchan