Azure函数如何工作者' azurefunctionsrpcmessages'选择其端口
我使用VSCODE Azure函数扩展名在Ubuntu机器上本地运行Azure函数。
我创建了一个本地函数,该功能在默认端口7071
上运行。
但是,在检查日志时,我注意到以下消息,指示正在使用
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/2 POST http://127.0.0.1:34447/AzureFunctionsRpcMessages.FunctionRpc/EventStream application/grpc
此处使用的端口34447
每次运行功能时都会不断更改。似乎所选的端口在范围内3xxxx
到范围4xxxx
。
我想知道如何选择端口?可以自定义吗?
I am running Azure Function locally on an Ubuntu machine using VSCode Azure Function Extension.
I created a local function, which runs on the default port 7071
.
When checking the the log however, I notice the following message indicating that another port is being used
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/2 POST http://127.0.0.1:34447/AzureFunctionsRpcMessages.FunctionRpc/EventStream application/grpc
The port used here 34447
keeps changing every time I run my function. It seems that the ports selected are in the range 3xxxx
to range 4xxxx
.
I am wondering how is the port is being selected? Is it customizable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论