![](/img/trans.png)
[英]Listener for function was unable to start. Azure function app timetrigger
[英]Azure function gets 'Listener unable to start' error on linux
I am using Ubuntu Linux and I have been having issue when I try to run.Net core 2.2 Azure function app. 快速谷歌搜索表明它可能与存储有关,但没有一个是清楚的。
尽管运行时似乎开始正常运行,但一段时间后我收到此错误:
[6/4/2020 8:35:09 am] The listener for function 'FunctionName' was unable to start.
[6/4/2020 8:35:09 am] The listener for function 'FunctionName' was unable to start. Microsoft.Azure.Storage.Common: Connection refused. System.Net.Http: Connection refused. System.Private.CoreLib: Connection refused.
所以我发现了问题。 我试图在我的 windows 分区上运行我的 azure function 并且我遇到了类似的错误。 事实证明,这两种情况下的问题都是 Azure 存储仿真器。
要在 windows 中修复它,我必须:
Linux 中的修复实际上更容易:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.