gRPC : Running Multiple processes on the same port in .NET Core 3.1
85 views
Skip to first unread message
Shaurya Puri
unread,
Jul 6, 2022, 3:20:18 PM7/6/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
Hi,
I am migrating an application from .NET Framework 4.7.2 (WCF) to .NET Core 3.1 (gRPC), and my current architecture has two processes running on the same port. I wanted to ask if there was a way to run two gRPC processes on the same port in .NET Core 3.1.
It is important to me that these be two individual processes, rather than two services in the same process.
Thanks in advance. Shaurya
Jan Tattermusch
unread,
Aug 16, 2022, 9:06:35 AM8/16/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
The answer boils down to whether ASP.NET Core supports port sharing between multiple process (as gRPC server is just a special type of HTTP/2 service in a ASP.NET Core Server), and unfortunately it doesn't.