Tien, Generally it's a server socket. So all connections to provider will use the specific (listening) port on PROVIDER side but it may be a random one on consumer side. This is the rule from TCP. Connections are recognized by 4-element on both side: src:srcPort-dst:dstPort.
best regards, Jason > On Nov 6, 2019, at 23:07, Tien Dat PHAN <[email protected]> wrote: > > Dear experts, > > As we know, the protocol is open on a specific port if one set the > "dubbo.protocol.port" parameter to a given port. > In addition, we just wanted to know how Dubbo provides the connection from > API consumer to the providers. Does it require extra ports to be open? If > YES, how these ports are selected? > > Best > Tien Dat PHAN
