【问题标题】:Azure Storage Emulator does not startAzure 存储模拟器无法启动
【发布时间】:2021-09-12 19:28:21
【问题描述】:

我试图从命令提示符启动运行 AzureStorageEmulator.exe 的 Azure 存储模拟器。但我最终得到一个错误,说与现有应用程序存在端口冲突

我尝试检查默认端口并意识到它正在被进程系统使用

有什么办法可以释放这个端口供模拟器使用?

PS:我知道我们可以从 AzureStorageEmulator.exe.config 更改端口,但我将其保留为最后一个选项

【问题讨论】:

    标签: azure tcp azure-table-storage azure-storage-emulator


    【解决方案1】:

    Azure 存储模拟器现已弃用。 Microsoft 建议你使用 Azurite emulator 使用 Azure 存储进行本地开发。 Azurite 取代了 Azure 存储模拟器。 Azurite 将继续更新以支持最新版本的 Azure 存储 API。有关详细信息,请参阅使用 Azurite emulator for local Azure Storage development.

    尝试使用 Azurite,如果遇到任何问题,请告诉我,我们很乐意为您提供帮助。

    AzureStorageEmulator.exe 状态表明它想使用端口 10000-10002,而 netstat -abno 表明 Docker 已经在使用 10000、10001

    你也可以参考这个帖子https://stackoverflow.com/a/59854137,它提供了一些关于你的场景的想法

    Windows Azure Storage Emulator – Error: Unable to start the storage emulator.

    【讨论】:

      猜你喜欢
      • 2018-12-28
      • 2014-09-09
      • 1970-01-01
      • 2018-03-27
      • 2014-06-12
      • 1970-01-01
      • 2016-02-03
      • 2015-10-26
      相关资源
      最近更新 更多