Chenjp commented on issue #14569: URL: https://github.com/apache/dubbo/issues/14569#issuecomment-2323624117
> @songxiaosheng It looks like -1 means use the default port not randomized, this scenario can be support by getting a port using org.apache.dubbo.common.utils.NetUtils#getAvailablePort() agree, consider change method name from ```getRandomPort``` to ```getRegisteredProtocolPort()```, set... as above. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
