On Tue, Sep 19, 2017 at 8:48 PM, <[email protected]> wrote:

> 1) how does the gRPC Java client select the outgoing TCP port?? What are
> the default ports is any??
>

Like virtually every other TCP client, the OS selects an unused port
in the OS's
ephemeral range <https://en.wikipedia.org/wiki/Ephemeral_port>.

2) Can my application explicitly pass the out going ports when i connect to
> server?
>

No, that's not currently supported.

I'd suggest the firewall be configured based on the src address and dest
address+port, and not specify the src port. There would be virtually no
change in the security provided, unless you were hoping to use a port less
than 1024.

-- 
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/CA%2B4M1oNyW_oCC_Niu-cMms6SwcuWzL7wiuGd0F6FErYnvXQ6Pw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to