You'll need some way to rendezvous the two.   Typically the way to do this 
is just use a well know port number.  Otherwise you'll need a third party 
to record the ports, and tell new clients.

For larger setups, you can use Zookeeper, though I haven't personally used 
it.

On Wednesday, July 5, 2017 at 2:51:16 PM UTC-7, [email protected] wrote:
>
> Hi,
>   i am using grpc1.4.0 on windows.
>
> I would like to establish P2P connection (client-server). Server binds to a
> dynamic port and client should be familiar with the port number in order to
> connect to it.
> What is best way to publish the port number to the client?
> Moshe.
> Thx.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/d6da388d-1f91-4ecd-998b-27abdc82c076%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to