![](/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.