An Azure service that provides an event-driven serverless compute platform.
Listener for Azure function was unable to start error while running Azure function app locally. How to solve this?
I have one Azure function app and I am trying to run that locally but getting the below error. I have the storage emulator up and running. My 10000 port is busy to do something so I changed the port of emulator from AzureStorageEmulator.exe.config file and started with admin mood. it started successfully.
My storage emulator is running on 12000,12001, 12002 respectively for blob, queue, table.
Local host file is like below,
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet"
}
}
Getting the below error at runtime. Can you pls guide me how the issue can be solved to run the function app locally? I am not sure why the listener is trying to find 10000 if I run locally from Visual Studio 2022
The listener for function 'ABCFunction' was unable to start. Azure.Core: Retry failed after 6 tries. Retry settings can be adjusted in ClientOptions.Retry. (No connection could be made because the target machine actively refused it. (127.0.0.1:10000)) (No connection could be made because the target machine actively refused it. (127.0.0.1:10000)) (No connection could be made because the target machine actively refused it. (127.0.0.1:10000)) (No connection could be made because the target machine actively refused it. (127.0.0.1:10000)) (No connection could be made because the target machine actively refused it. (127.0.0.1:10000)) (No connection could be made because the target machine actively refused it. (127.0.0.1:10000)). Azure.Core: No connection could be made because the target machine actively refused it. (127.0.0.1:10000). System.Net.Http: No connection could be made because the target machine actively refused it.
Azure Functions
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
5 deleted comments
Comments have been turned off. Learn more