Azure Compute Emualtor giving issue in startup

Komal Singhal 6 Reputation points
2020-07-30T06:19:12.443+00:00

The compute emulator had a error: One or more ports used by the Compute Emulator are currently used by other processes or not opened. To resolve this, please see MSDN documentation at http://msdn.microsoft.com/en-us/library/hh472164.aspx.

The compute emulator had a error: Unable to connect to dfservice!.

Azure Compute emulator gived those 2 above issue when we try to deploy our cloud service role.
Command that I am using is following:

C:\Program Files\Microsoft SDKs\Azure\Emulator>csrun.exe /useiisexpress <Path-to-service>\DevFabric <Path-to-service>\ServiceConfiguration.LocalWithSecrets.cscfg /portoverride:"<role-name>;HttpsIn;10004"

Checked csrun.scvlog also , to figure out the issue:

It has one of the error as

There was no endpoint listening at net.pipe://localhost/dfService/2/IFabricator that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.IO.PipeException: The pipe endpoint 'net.pipe://localhost/dfService/2/IFabricator' could not be found on your local machine.

Did these steps mentioned here no-endpoint-listening-at-net-pipe

Still it is giving issue.

I want to know some permanent fix to these issue or what is causing all of this.

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
668 questions
{count} vote