【问题标题】:AzureStorageEmulator 5.1 doesn't to startAzureStorageEmulator 5.1 无法启动
【发布时间】:2020-02-18 11:58:12
【问题描述】:

在我的 Win10 更新后,嵌入到 VS2019 (16.4.5) 中的 AzureStorageEmulator (5.10.0.0) 无法启动。我试过单独启动它,但同样的问题

AzureStorageEmulator.exe start -inprocess
Windows Azure Storage Emulator 5.10.0.0 command line tool
Service Status: Blob http://127.0.0.1:10000/ False
The network location cannot be reached. For information about network troubleshooting, see Windows Help
Error: Unable to start the storage emulator.

我尝试除了初始化 AzureStorage

AzureStorageEmulator.exe init
Windows Azure Storage Emulator 5.10.0.0 command line tool
Found SQL Instance (localdb)\MSSQLLocalDB.
Creating database AzureStorageEmulatorDb510 on SQL instance '(localdb)\MSSQLLocalDB'.
Granting database access to user EVN-TEAMVIEWER\simon.hunanyan.
Database access for user EVN-TEAMVIEWER\simon.hunanyan was granted.
Initialization successful. The storage emulator is now ready for use.
The storage emulator was successfully initialized and is ready to use.

但结果一样:(

也许有人已经遇到过这个问题?任何想法 - 如何解决它?

【问题讨论】:

  • 请检查端口 10000 是否可用且未被其他进程/应用程序使用。
  • 我必须以管理员身份启动命令提示符才能启动模拟器。如果我没记错的话,这在几周前是没有必要的。

标签: azure


【解决方案1】:

似乎,我找到了原因 - 本地机器的网络访问以某种方式关闭:( 我已经运行了命令

netsh http add iplisten 127.0.0.1

令人惊讶的是,AzureStorageEmulator 已启动

AzureStorageEmulator.exe start -inprocess
Windows Azure Storage Emulator 5.10.0.0 command line tool
Service Status: Blob http://127.0.0.1:10000/ True
Service Status: Queue http://127.0.0.1:10001/ True
Service Status: Table http://127.0.0.1:10002/ True

【讨论】:

  • 超级省时技巧
  • 谢谢你的朋友。我真希望我在 3 小时前偶然发现了这个……
猜你喜欢
  • 2018-03-02
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-04-29
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多