由于端口已在使用中,因此CosmosDB仿真器无法启动 [英] CosmosDB emulator can't start since port is already in use

查看:110
本文介绍了由于端口已在使用中,因此CosmosDB仿真器无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我给CosmosDB一个机会,所以我决定构建一个使用它的应用程序,但是在使用仿真器时遇到了这个问题:端口已在使用中.

I'm giving CosmosDB a chance and so I decided to build an app that uses it, but I'm running into this issue when using the emulator: Port is already in use.

我不确定在哪里重新配置仿真器指向的端口.

I'm not sure where to reconfigure the port the emulator is pointing.

推荐答案

您可以使用/Port选项将仿真器配置为侦听其他端口.

You can use /Port option to configure the emulator to listen to a different port.

https://docs.microsoft.com/zh-cn/azure/cosmos-db/local-emulator#a-idcommand-lineacommand-line-tool-reference

这篇关于由于端口已在使用中,因此CosmosDB仿真器无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆