[英]ASP.NET Core | gRPC “Error starting gRPC call: No connection could be made because the target machine actively refused it.”
I have a local gRPC client and a remote gRPC server.我有一个本地 gRPC 客户端和一个远程 gRPC 服务器。 Local gRPC client is running on IIS.
本地 gRPC 客户端在 IIS 上运行。 Remote gRPC server runs on Kestrel inside Ubuntu OS.
远程 gRPC 服务器在 Ubuntu 操作系统内的 Kestrel 上运行。 When I'm trying to make a gRPC call from client to server I'm getting RpcException with the following message
"Error starting gRPC call: No connection could be made because the target machine actively refused it."
当我尝试从客户端到服务器进行 gRPC 调用时,我收到RpcException并显示以下消息
"Error starting gRPC call: No connection could be made because the target machine actively refused it."
. .
I have used port 31700 for gRPC server.我已将端口 31700 用于 gRPC 服务器。 Now I changed it to another one, and it works.
现在我将其更改为另一个,并且可以正常工作。 I will appreciate some explanation of why is this port cannot be used for listening.
我会很感激为什么这个端口不能用于监听的一些解释。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.