You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Chenjp (via GitHub)" <gi...@apache.org> on 2024/09/02 01:52:06 UTC
Re: [I] [Bug] random port -1 is not effect [dubbo]
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org